/* =========================================================
   NEHVONEN SITE CSS
   Rakenteet, layoutit ja komponentit.

   Asiakkaan värit, fontit, otsikkokoot, marginaalit ja muut
   pääsäädöt tehdään tiedostossa theme.css.
========================================================= */


/* =========================================================
   Lähde: style.css
========================================================= */

/* =========================================================
   NEHVONEN STATIC SITE
   Clean final CSS
========================================================= */

/* -------------------------
   Base
------------------------- */

* {
  box-sizing: border-box;
}


/* =========================================================
   MOBILE CHROME SCROLL / HEADER REVEAL FIX
   Root-scroll pidetään dokumentilla. Wrapper saa leikata vain
   vaakasuuntaisen ylivuodon, ei pystyscrollia.
========================================================= */

html,
body {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: var(--color-brand-dark);
  font-family: Arial, Helvetica, sans-serif;
}

html {
  overflow-y: auto;
}

body {
  min-width: 320px;
  overflow-y: visible;
  touch-action: pan-y;
}

a {
  color: inherit;
}

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

.neh-block-page {
  --neh-dark: var(--color-brand-dark);
  --neh-dark-2: var(--color-brand-dark-2);
  --neh-orange: var(--color-brand-accent);
  --neh-green: #28b842;
  --neh-text: var(--color-text-soft-light);
  --neh-container: 1320px;

  --neh-page-x: clamp(28px, 6vw, 168px);
  --neh-section-y: clamp(72px, 7vw, 118px);
  --neh-section-gap: clamp(26px, 3vw, 42px);
  --neh-grid-gap: 20px;

  --neh-card-padding-y: 28px;
  --neh-card-padding-x: 20px;

  --neh-cover-y: clamp(70px, 7vw, 120px);
  --neh-hero-min-h: 720px;
  --neh-about-min-h: 760px;
  --neh-text-panel-max: 560px;

  --neh-about-bg-position: center center;
  --neh-about-bg-size: cover;

  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--neh-dark);
  color: #fff;
}

/* -------------------------
   Shared cover sections
------------------------- */

.neh-about-cover {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.neh-about-cover {
  min-height: var(--neh-about-min-h);
}

.neh-cover-bg,
.neh-cover-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.neh-cover-bg {
  z-index: 1;
  object-fit: cover;
  object-position: right center;
}

.neh-cover-overlay {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 10, 18, .96) 0%,
    rgba(5, 10, 18, .88) 25%,
    rgba(5, 10, 18, .52) 48%,
    rgba(5, 10, 18, .12) 72%,
    rgba(5, 10, 18, .06) 100%
  );
}

.neh-cover-inner,
.neh-services-inner,
.neh-contact-inner,
.neh-footer-inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
}

.neh-cover-inner {
  position: relative;
  z-index: 3;
  padding-block: var(--neh-cover-y);
}

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

.neh-about-content {
  position: relative;
  z-index: 4;
  width: min(100%, var(--neh-text-panel-max));
  max-width: var(--neh-text-panel-max);
}

.neh-about-title strong {
  color: var(--neh-orange);
  font-weight: 900;
}

/* -------------------------
   CTA buttons
------------------------- */

.neh-cta-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: auto;
}

.neh-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.neh-cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.neh-cta-button--call {
  background: var(--neh-orange);
  color: #111;
  box-shadow: 0 10px 24px rgba(var(--rgb-brand-accent), .24);
}

.neh-cta-button--call:hover {
  box-shadow:
    0 14px 30px rgba(var(--rgb-brand-accent), .34),
    0 0 0 1px rgba(255, 255, 255, .08);
}

.neh-cta-button--wa {
  background: var(--neh-green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(40, 184, 66, .22);
}

.neh-cta-button--wa:hover {
  box-shadow:
    0 14px 30px rgba(40, 184, 66, .30),
    0 0 0 1px rgba(255, 255, 255, .08);
}

/* -------------------------
   Mobile hero follow-up
------------------------- */

.neh-mobile-hero-after {
  display: none;
}

/* -------------------------
   Services
------------------------- */

.neh-services-block {
  position: relative;
  overflow: hidden;
  background: linear-gradient(359deg, var(--color-brand-blue) 0%, #000000 100%);
  padding-block: var(--neh-section-y);
}

.neh-services-block::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(var(--rgb-brand-accent), .18) 0%,
    rgba(var(--rgb-brand-accent), .07) 38%,
    rgba(var(--rgb-brand-accent), 0) 70%
  );
}

.neh-section-title {
  position: relative;
  margin: 0 0 var(--neh-section-gap) 0;
  color: #fff;
  text-align: center;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.025em;
}

.neh-section-title::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin: 18px auto 0 auto;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-accent), 0) 0%,
    rgba(var(--rgb-brand-accent), 1) 50%,
    rgba(var(--rgb-brand-accent), 0) 100%
  );
}

.neh-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--neh-grid-gap);
  justify-items: center;
}

/* -------------------------
   Link helpers
------------------------- */

.neh-footer-logo a {
  display: inline-block;
}

.neh-footer-logo a:focus-visible,
.neh-service-card-link:focus-visible {
  outline: 3px solid var(--neh-orange);
  outline-offset: 4px;
}

.neh-service-card {
  min-width: 0;
  max-width: 80%;
  margin: 0;
  padding: var(--neh-card-padding-y) var(--neh-card-padding-x);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  text-align: center;
  transition:
    transform .25s ease,
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.neh-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--rgb-brand-accent), .48);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, .075) 0%,
    rgba(255, 255, 255, .035) 100%
  );
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .24),
    0 0 0 1px rgba(var(--rgb-brand-accent), .08);
}

.neh-service-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px 0;
}

.neh-service-card img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  object-fit: contain;
  transition: transform .28s ease;
}

.neh-service-card:hover img {
  transform: translateY(-4px) scale(1.06);
}

.neh-service-card h3 {
  max-width: 245px;
  margin: 0 auto 10px auto;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
}

.neh-service-card p {
  max-width: 250px;
  margin: 0 auto;
  color: var(--neh-text);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* -------------------------
   About
------------------------- */

.neh-about-cover {
  background-image: url("../kuvat/lolvo-sailio.webp");
  background-size: var(--neh-about-bg-size);
  background-position: var(--neh-about-bg-position);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.neh-about-cover > .neh-cover-bg {
  display: none;
}

.neh-about-cover .neh-cover-overlay {
  background: linear-gradient(
    90deg,
    rgba(5, 10, 18, .97) 0%,
    rgba(5, 10, 18, .88) 31%,
    rgba(5, 10, 18, .46) 58%,
    rgba(5, 10, 18, .10) 100%
  );
}

.neh-about-content {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--rgb-brand-dark), .78), rgba(var(--rgb-brand-dark), .45));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  backdrop-filter: blur(2px);
}

.neh-kicker {
  margin: 0 0 14px 0;
  color: var(--neh-orange);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.neh-about-title {
  margin: 0 0 22px 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.03em;
}

.neh-about-content p:not(.neh-kicker) {
  margin: 0 0 18px 0;
  color: #eef2f5;
  font-size: 17px;
  line-height: 1.65;
}

.neh-about-content p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   NEHVONEN TYÖPAIKKANA
   Peilikuva Meistä-osiosta: teksti oikealla, kuva taustalla.
========================================================= */

.neh-workplace-cover {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--neh-about-min-h);
  overflow: hidden;
  background-image: url("../kuvat/kalusto.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.neh-workplace-cover > .neh-cover-bg {
  display: none;
}

.neh-workplace-cover .neh-cover-overlay {
  background: linear-gradient(
    270deg,
    rgba(5, 10, 18, .97) 0%,
    rgba(5, 10, 18, .88) 31%,
    rgba(5, 10, 18, .46) 58%,
    rgba(5, 10, 18, .10) 100%
  );
}

.neh-workplace-content {
  position: relative;
  z-index: 4;
  width: min(100%, var(--neh-text-panel-max));
  max-width: var(--neh-text-panel-max);
  margin-left: auto;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: linear-gradient(225deg, rgba(var(--rgb-brand-dark), .78), rgba(var(--rgb-brand-dark), .45));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  backdrop-filter: blur(2px);
}

.neh-workplace-content p:not(.neh-kicker) {
  margin: 0 0 18px 0;
  color: #eef2f5;
  font-size: 17px;
  line-height: 1.65;
}

.neh-workplace-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 759px) {
  .neh-workplace-cover {
    min-height: var(--neh-about-min-h);
    align-items: flex-end;
    background-attachment: scroll;
    background-position: center center;
  }

  .neh-workplace-cover .neh-cover-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 18, .18) 0%,
      rgba(5, 10, 18, .42) 36%,
      rgba(5, 10, 18, .96) 100%
    );
  }

  .neh-workplace-content {
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .neh-workplace-content p:not(.neh-kicker) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neh-workplace-cover {
    background-attachment: scroll;
  }
}


/* =========================================================
   OULUN AUTOKULJETUS
   Keskitetty hero-tyylinen osio ilman tekstilaatikkoa.
========================================================= */

.neh-oak-block {
  position: relative;
  overflow: hidden;
  padding-block: clamp(82px, 8vw, 132px);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .10) 0%, rgba(var(--rgb-brand-accent), 0) 34%),
    linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  color: #ffffff;
}

.neh-oak-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 66px 66px;
  opacity: .16;
}

.neh-oak-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
}

.neh-oak-content {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.neh-oak-logo-wrap {
  width: fit-content;
  margin: 0 auto clamp(26px, 3vw, 40px) auto;
  padding: 0;
}

.neh-oak-logo {
  width: clamp(220px, 20vw, 340px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .34));
}

.neh-oak-title {
  position: relative;
  max-width: 760px;
  margin: 0 auto 22px auto;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: none;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}

.neh-oak-title::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin: 18px auto 0 auto;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-accent), 0) 0%,
    rgba(var(--rgb-brand-accent), 1) 50%,
    rgba(var(--rgb-brand-accent), 0) 100%
  );
}

.neh-oak-title strong {
  color: var(--neh-orange);
  font-weight: 900;
}

.neh-oak-content p:not(.neh-kicker) {
  max-width: 660px;
  margin: 0 auto 18px auto;
  color: #f0f3f6;
  font-size: 17px;
  line-height: 1.65;
}

.neh-oak-button {
  margin-top: 14px;
}

@media (max-width: 759px) {
  .neh-oak-block {
    padding-block: 62px;
  }

  .neh-oak-content {
    width: 100%;
  }

  .neh-oak-logo {
    width: min(240px, 72vw);
  }

  .neh-oak-title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .neh-oak-content p:not(.neh-kicker) {
    max-width: 100%;
    font-size: 15.5px;
    line-height: 1.58;
  }

  .neh-oak-button {
    width: 100%;
    margin-top: 14px;
  }
}

/* -------------------------
   Contact
------------------------- */

.neh-contact-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .10) 0%, rgba(var(--rgb-brand-accent), 0) 34%),
    linear-gradient(180deg, var(--color-brand-blue) 0%, var(--color-brand-dark) 100%);
  color: #ffffff;
  padding-block: var(--neh-section-y);
}

.neh-contact-block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .18;
}

.neh-contact-inner {
  position: relative;
  z-index: 2;
}

.neh-contact-simple {
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.neh-contact-simple .neh-kicker {
  color: var(--neh-orange);
}

.neh-contact-simple h2 {
  position: relative;
  max-width: 760px;
  margin: 0 auto var(--neh-section-gap) auto;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.025em;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .28);
}

.neh-contact-simple h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin: 18px auto 0 auto;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-accent), 0) 0%,
    rgba(var(--rgb-brand-accent), 1) 50%,
    rgba(var(--rgb-brand-accent), 0) 100%
  );
}

.neh-contact-details {
  width: min(100%, 520px);
  margin: 0 auto;
}

.neh-contact-details p {
  margin: 0 0 18px 0;
  color: #eef2f5;
  font-size: 18px;
  line-height: 1.55;
}

.neh-contact-details p:last-child {
  margin-bottom: 0;
}

.neh-contact-details .neh-contact-company {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.neh-contact-details strong {
  color: #ffffff;
  font-weight: 900;
}

.neh-contact-details a {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.neh-contact-details a:hover {
  color: var(--neh-orange);
}

.neh-contact-simple > .neh-cta-buttons {
  width: min(760px, 100%);
  margin: 34px auto 0 auto;
  justify-content: center;
}

.neh-contact-simple > .neh-cta-buttons .neh-cta-button {
  min-width: 220px;
  min-height: 58px;
  font-size: 20px;
}

@media (max-width: 759px) {
  .neh-contact-simple {
    width: 100%;
  }

  .neh-contact-details {
    width: 100%;
  }

  .neh-contact-details p {
    font-size: 16px;
    line-height: 1.55;
  }

  .neh-contact-details .neh-contact-company,
  .neh-contact-details a {
    font-size: 20px;
  }

  .neh-contact-simple > .neh-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .neh-contact-simple > .neh-cta-buttons .neh-cta-button {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    font-size: clamp(13px, 3.6vw, 16px);
  }
}

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

.neh-footer-block {
  background: var(--color-brand-dark);
  color: #cfd7df;
  padding-block: 34px;
}

.neh-footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.neh-footer-logo {
  margin: 0;
}

.neh-footer-inner img {
  width: 220px;
  max-width: 80%;
}

.neh-footer-inner p {
  margin: 0;
  color: #cfd7df;
  line-height: 1.6;
  text-align: right;
}

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

@media (min-width: 1500px) {
  .neh-block-page {
    --neh-container: 1400px;
    --neh-hero-min-h: 820px;
    --neh-about-min-h: 820px;
  }
}

@media (max-width: 1179px) {
  .neh-block-page {
    --neh-page-x: clamp(24px, 5vw, 72px);
    --neh-hero-min-h: 660px;
    --neh-about-min-h: 680px;
    --neh-grid-gap: 18px;
  }

  .neh-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .neh-service-card img {
    width: 148px;
    height: 148px;
  }
}

@media (max-width: 919px) {
  .neh-block-page {
    --neh-page-x: 28px;
    --neh-section-y: 68px;
    --neh-cover-y: 58px;
  }

  .neh-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .neh-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .neh-block-page {
    --neh-page-x: 18px;
    --neh-section-y: 56px;
    --neh-section-gap: 24px;
    --neh-grid-gap: 16px;
    --neh-card-padding-y: 26px;
    --neh-card-padding-x: 18px;
    --neh-cover-y: 34px;
    --neh-hero-min-h: 100svh;
    --neh-about-min-h: 600px;
  }

  .neh-mobile-hero-after {
    display: block;
    background: var(--color-brand-dark);
    color: #fff;
    padding: 34px 18px 110px;
  }

  .neh-mobile-hero-after-inner {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .neh-mobile-hero-after p {
    margin: 0 0 24px 0;
    color: #eef2f5;
    font-size: 16.5px;
    line-height: 1.62;
    text-align: center;
  }

  .neh-mobile-hero-after .neh-cta-buttons {
    display: flex;
    width: 100%;
  }

  .neh-about-cover {
    align-items: flex-end;
    background-attachment: scroll;
    background-position: 58% center;
  }

  .neh-about-cover .neh-cover-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 18, .18) 0%,
      rgba(5, 10, 18, .42) 36%,
      rgba(5, 10, 18, .96) 100%
    );
  }

  .neh-about-content {
    width: 100%;
    max-width: none;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .neh-about-content p:not(.neh-kicker) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
  }

  .neh-cta-buttons,
  .neh-contact-inner > .neh-cta-buttons {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
  }

  .neh-cta-button,
  .neh-contact-inner > .neh-cta-buttons .neh-cta-button {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 50px;
    padding: 12px 10px;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.05;
    white-space: normal;
  }

  .neh-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .neh-footer-inner > p {
    display: none;
  }

  .neh-footer-logo {
    margin: 0 auto;
  }

  .neh-footer-inner img {
    width: 220px;
    max-width: 78vw;
    margin: 0 auto;
  }
}

@media (max-width: 619px) {
  .neh-service-grid {
    grid-template-columns: 1fr;
  }

  .neh-service-card img {
    width: 150px;
    height: 150px;
  }

  .neh-service-card h3 {
    max-width: 300px;
  }

  .neh-service-card p {
    max-width: 310px;
  }
}

@media (max-width: 379px) {
  .neh-block-page {
    --neh-page-x: 14px;
  }
}

@keyframes nehHeroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.045);
  }
}

@keyframes nehFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   ACCESSIBILITY CONTRAST FIX
   Korjaa Lighthouse-kontrastivirheet rikkomatta asettelua.
========================================================= */

/* WhatsApp-nappi: valkoinen teksti vaatii tummemman vihreän. */
.neh-cta-button--wa {
  background: #146c2e;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 108, 46, .24);
}

.neh-cta-button--wa:hover {
  box-shadow: 0 14px 30px rgba(20, 108, 46, .34), 0 0 0 1px rgba(255, 255, 255, .08);
}

/* Vaalealla yhteystietoalueella oranssi kicker oli liian vaalea. */
.neh-contact-block .neh-kicker {
  color: var(--color-brand-accent);
}

/* Yhteystietojen listamerkit vaalealla pohjalla tummemmaksi. */
.neh-contact-card li::before {
  color: #8a4d00;
}

/* Näppäimistökäyttäjille näkyvä fokus ilman layout-muutoksia. */
.neh-cta-button:focus-visible,
.neh-contact-card a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.neh-contact-block .neh-cta-button:focus-visible,
.neh-contact-card a:focus-visible {
  outline-color: #101820;
}

/* =========================================================
   MOBILE SECTION HEIGHT FINAL FIX — NO INNER SCROLL
   Section on vähintään ruudun korkuinen.
   Jos sisältö on korkeampi, section kasvaa normaalisti.
   Ei tekstilaatikon tai sisällön omaa scrollia.
========================================================= */

@media (max-width: 759px) {
  .neh-block-page {
    overflow-x: clip;
    overflow-y: visible;
  }

  .neh-about-cover,
  .neh-workplace-cover,
  .neh-oak-block,
  .neh-contact-block {
    min-height: 100svh;
    height: auto;
    overflow: visible;
  }

  .neh-about-cover,
  .neh-workplace-cover {
    align-items: stretch;
  }

  .neh-about-cover .neh-cover-inner,
  .neh-workplace-cover .neh-cover-inner {
    min-height: 100svh;
    height: auto;
    display: flex;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 34px;
  }

  .neh-oak-block,
  .neh-contact-block {
    display: flex;
    align-items: center;
  }

  .neh-oak-inner,
  .neh-contact-inner {
    width: min(calc(100% - 36px), var(--neh-container));
  }

  .neh-about-content,
  .neh-workplace-content,
  .neh-oak-content,
  .neh-contact-simple {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
}

.neh-footer-logo a {
  display: inline-block;
}

.neh-service-card {
  position: relative;
}

.neh-service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.neh-service-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.neh-service-card-link > * {
  position: relative;
  z-index: 2;
}

.neh-service-card-link:focus-visible {
  border-radius: 14px;
}


/* =========================================================
   ETUSIVUN HERO / TEKSTIN JA NAPPIEN VÄLI
   Hero-komponentin sisäinen välistys:
   leipäteksti ja CTA-rivi eivät liimaudu toisiinsa.
========================================================= */

.neh-hero--home .neh-hero__content .neh-cta-buttons {
  margin-top: clamp(22px, 2.2vw, 34px);
}

/* =========================================================
   ETUSIVUN MODULAARINEN HERO
   Sama hero-ajattelu kuin palvelusivuilla:
   .neh-hero + .neh-hero--left + .neh-hero--home

   Base-rakenne tulee components.css:stä.
   Tämä tiedosto määrittää vain etusivun omat erot:
   logo, parallax-taustakuva, tekstin mitoitus ja mobiiliasettelu.
========================================================= */

.neh-hero--home {
  --neh-hero-height: 100svh;
  --neh-hero-container: var(--neh-container);
  --neh-hero-x: var(--neh-page-x);
  --neh-hero-content-width: min(100%, var(--neh-text-panel-max));
  --neh-hero-title-width: 100%;
  --neh-hero-text-width: 430px;
  --neh-hero-h1: clamp(30px, 3.35vw, 58px);
  --neh-hero-body: 16px;
  --neh-hero-line: 1.58;
  --neh-hero-image-position: right center;
  --neh-hero-overlay: linear-gradient(
    90deg,
    rgba(5, 10, 18, .96) 0%,
    rgba(5, 10, 18, .88) 25%,
    rgba(5, 10, 18, .52) 48%,
    rgba(5, 10, 18, .12) 72%,
    rgba(5, 10, 18, .06) 100%
  );
}

.neh-hero--home::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  z-index: 4;
  width: 52%;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-accent), 0) 0%,
    rgba(var(--rgb-brand-accent), .95) 22%,
    rgba(var(--rgb-brand-accent), .35) 72%,
    rgba(var(--rgb-brand-accent), 0) 100%
  );
}

.neh-hero--home .neh-hero__content {
  position: relative;
  z-index: 4;
}

.neh-hero--home .neh-hero__content h1 {
  text-shadow: 0 8px 26px rgba(0, 0, 0, .42);
}

.neh-hero--home .neh-hero__content h1 strong {
  display: block;
  color: var(--neh-orange);
  font-weight: 900;
  text-shadow: 0 0 28px rgba(var(--rgb-brand-accent), .22);
}

.neh-hero--home .neh-hero__content p:not(.neh-kicker) {
  max-width: var(--neh-hero-text-width);
  color: #f0f3f6;
}

.neh-hero__logo {
  margin: 0;
  padding: 0;
}

.neh-hero__logo a {
  display: inline-block;
}

.neh-hero__logo a:focus-visible {
  outline: 3px solid var(--neh-orange);
  outline-offset: 4px;
}

.neh-hero__logo--desktop {
  display: block;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.neh-hero__logo--desktop img {
  width: clamp(360px, 28vw, 560px);
  max-width: 100%;
}

.neh-hero__logo--mobile {
  display: none;
}

@media (min-width: 760px) {
  .neh-hero--home {
    background-image: url("../kuvat/yjj2.webp");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .neh-hero--home > .neh-hero__image {
    display: none;
  }
}

@media (max-width: 759px) {
  .neh-hero--home {
    --neh-hero-height: 100svh;
    --neh-hero-x: 18px;
    --neh-hero-content-width: 100%;
    --neh-hero-title-width: 390px;
    --neh-hero-text-width: 390px;
    --neh-hero-h1: clamp(25px, 6vw, 62px);
    --neh-hero-image-position: center 37%;
    --neh-hero-overlay: linear-gradient(
      180deg,
      rgba(5, 10, 18, .18) 0%,
      rgba(5, 10, 18, .28) 38%,
      rgba(5, 10, 18, .80) 100%
    );
    align-items: stretch;
    background: var(--color-brand-dark);
  }

  .neh-hero--home > .neh-hero__image {
    display: block;
    transform: none;
    animation: none;
  }

  .neh-hero--home .neh-hero__inner {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    margin: 0;
    padding: 0 16px 78px 16px;
    align-items: flex-end;
    justify-content: center;
  }

  .neh-hero--home .neh-hero__content {
    width: min(100%, 430px);
    max-width: 430px;
    margin: 0 auto;
    text-align: center;
    transform: none;
    animation: none;
  }

  .neh-hero--home .neh-hero__content h1 {
    max-width: var(--neh-hero-title-width);
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 6px 28px rgba(0, 0, 0, .78);
  }

  .neh-hero--home .neh-hero__content p:not(.neh-kicker),
  .neh-hero--home .neh-hero__content .neh-cta-buttons {
    display: none;
  }

  .neh-hero__logo--desktop {
    display: none;
  }

  .neh-hero__logo--mobile {
    position: absolute;
    top: 84px;
    left: 50%;
    z-index: 20;
    display: block;
    width: 300px;
    max-width: 72vw;
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .neh-hero__logo--mobile img {
    width: 100%;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neh-hero--home {
    background-attachment: scroll;
  }

  .neh-hero--home > .neh-hero__image,
  .neh-hero--home .neh-hero__content {
    animation: none;
  }
}


/* =========================================================
   Lähde: header.css
========================================================= */

/* =========================================================
   NEHVONEN HEADER / NAVIGATION
   Yhteinen header kaikille sivuille.
   Tämä tiedosto ladataan style.css:n jälkeen ja ennen sivukohtaista CSS:ää.
========================================================= */

.neh-site-header {
  --neh-dark: var(--color-brand-dark);
  --neh-orange: var(--color-brand-accent);
  --neh-container: 1320px;
  --neh-page-x: clamp(28px, 6vw, 168px);

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  color: #ffffff;
  background: rgba(var(--rgb-brand-dark), .96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transition: transform .24s ease, background-color .24s ease, box-shadow .24s ease;
  will-change: transform;
}

.neh-site-header.neh-header--hidden {
  transform: translate3d(0, -110%, 0);
}

.neh-site-header:has(.neh-nav-toggle:checked) {
  transform: translate3d(0, 0, 0);
}

.neh-site-header,
.neh-site-header * {
  box-sizing: border-box;
}

.neh-site-header img {
  display: block;
  max-width: 100%;
  height: auto;
}

.neh-site-header-inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
}

.neh-header-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(170px, 15vw, 180px);
  max-width: 56vw;
  color: inherit;
  text-decoration: none;
}

.neh-header-logo img {
  width: 100%;
  height: auto;
}

.neh-main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.neh-main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.neh-main-nav a:hover,
.neh-main-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, .10);
}

.neh-nav-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.neh-nav-button {
  display: none;
  width: 46px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, .10);
}

.neh-nav-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #ffffff;
}

.neh-nav-button span:first-child {
  margin-top: 13px;
}

.neh-header-logo:focus-visible,
.neh-main-nav a:focus-visible,
.neh-nav-toggle:focus-visible + .neh-nav-button {
  outline: 3px solid var(--neh-orange);
  outline-offset: 4px;
}

@media (max-width: 759px) {
  .neh-site-header {
    padding: 3px 0;
  }

  .neh-site-header-inner {
    width: min(calc(100% - 2px), var(--neh-container));
    justify-content: space-between;
    padding-right: 10px;
    padding-left: 5px;
  }

  .neh-header-logo {
    width: min(137px, 58vw);
  }

  .neh-nav-button {
    display: block;
    flex: 0 0 auto;
  }

  .neh-main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(var(--rgb-brand-dark), .96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
  }

  .neh-main-nav a {
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
  }

  .neh-nav-toggle:checked ~ .neh-main-nav {
    display: flex;
  }
}


/* =========================================================
   Lähde: palvelut.css
========================================================= */

/* =========================================================
   NEHVONEN PALVELUSIVUT
   Palvelusivujen peruspohja: hero, CTA ja HOX-nosto.

   Varsinaiset uudet layout-rakenteet ovat tiedostossa:
   /css/components.css

   Galleria/lightbox on tiedostossa:
   /css/galleria.css
========================================================= */

.neh-service-page {
  --neh-dark: var(--color-brand-dark);
  --neh-dark-2: var(--color-brand-dark-2);
  --neh-orange: var(--color-brand-accent);
  --neh-orange-readable: #9a5600;
  --neh-hero-accent: var(--color-brand-accent-2);
  --neh-green: #146c2e;
  --neh-text: var(--color-text-soft-light);
  --neh-container: 1320px;
  --neh-page-x: clamp(28px, 6vw, 168px);
  --neh-section-y: clamp(72px, 7vw, 118px);
  --neh-cover-y: clamp(70px, 7vw, 120px);
  --neh-text-panel-max: 560px;
  --neh-service-light: #f5f4f1;
}

.neh-service-page,
.neh-service-page * {
  box-sizing: border-box;
}

.neh-service-page :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

.neh-service-page .neh-kicker {
  margin: 0 0 14px 0;
  color: var(--neh-orange-readable);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* -------------------------
   CTA buttons
------------------------- */

.neh-service-page .neh-cta-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.neh-service-page .neh-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease;
}

.neh-service-page .neh-cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.neh-service-page .neh-cta-button--call {
  background: var(--neh-orange);
  color: #111111;
}

.neh-service-page .neh-cta-button--wa {
  background: var(--neh-green);
  color: #ffffff;
}

/* -------------------------
   Footer ja HOX-nosto
------------------------- */

.neh-hero-logo a,
.neh-footer-logo a {
  display: inline-block;
}

.neh-footer-logo a:focus-visible,
.neh-hero-logo a:focus-visible {
  outline: 3px solid var(--neh-orange);
  outline-offset: 4px;
}

.neh-night-note {
  color: #ffffff;
  background: var(--neh-dark);
  border-top: 1px solid rgba(var(--rgb-brand-accent), .55);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.neh-night-note-inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(18px, 2.6vw, 30px) 0;
}

.neh-night-note-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #101820;
  background: var(--neh-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.neh-night-note p {
  margin: 0;
  max-width: 920px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
  font-weight: 800;
}

.neh-night-note strong {
  color: #ffffff;
  font-weight: 900;
}

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

@media (max-width: 759px) {

  .neh-service-page .neh-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .neh-service-page .neh-cta-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .neh-night-note-inner {
    width: min(calc(100% - 36px), var(--neh-container));
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .neh-night-note-label {
    width: fit-content;
  }

  .neh-night-note p {
    font-size: 15.5px;
    line-height: 1.55;
  }
}

.neh-contact-block .neh-kicker {
  color: var(--neh-orange);
}


/* =========================================================
   Lähde: components.css
========================================================= */

/* =========================================================
   NEHVONEN COMPONENTS
   Modulaariset section-rakenteet palvelusivuille.

   Tavoite:
   - sama tekninen pohja eri sivuille
   - sivukohtainen ilme theme- ja modifier-luokilla
   - vähemmän uusia luokkaperheitä jokaiselle palvelusivulle
========================================================= */


/* =========================================================
   COMPONENT MEDIA OWNERSHIP
   Cover-kuvat määritellään komponentissa. Base-reset ei saa
   pakottaa hero/parallax-kuvia height:auto -tilaan.
========================================================= */

/* =========================================================
   HERO TITLE WIDTH SYSTEM
   Hero-tekstialue on oletuksena leveä, jotta pitkät otsikot
   mahtuvat desktopissa. Leipäteksti pidetään erillisellä
   --neh-hero-text-width -muuttujalla luettavan levyisenä.
========================================================= */

/* =========================================================
   CLEAN HERO / VASEN REUNA
   Yksinkertainen hero-malli palvelusivuille:
   kuva + overlay + vasempaan reunaan linjattu teksti.
   Tämä käyttää vain nykyistä .neh-hero-rakennetta, joten vanhat
   hero-patchit eivät vaikuta tähän.
========================================================= */

.neh-service-page {
  --neh-hero-height: 100svh;
  --neh-hero-container: 1360px;
  --neh-hero-x: clamp(20px, 5vw, 76px);
  --neh-hero-content-width: min(72vw, 1120px);
  --neh-hero-title-width: 1120px;
  --neh-hero-text-width: 620px;
  --neh-hero-h1: clamp(40px, 4vw, 72px);
  --neh-hero-body: 16px;
  --neh-hero-line: 1.65;
  --neh-hero-image-position: center center;
  --neh-hero-overlay: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-dark), .90) 0%,
    rgba(var(--rgb-brand-dark), .68) 38%,
    rgba(var(--rgb-brand-dark), .22) 100%
  );
}

.neh-hero {
  position: relative;
  min-height: var(--neh-hero-height);
  overflow: hidden;
  color: #ffffff;
  background: var(--neh-dark, var(--color-brand-dark));
}

.neh-hero > picture {
  position: absolute;
  inset: 0;
  display: block;
}

.neh-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--neh-hero-image-position);
}

.neh-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--neh-hero-overlay);
}

.neh-hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--neh-hero-x) * 2)), var(--neh-hero-container));
  min-height: var(--neh-hero-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.neh-hero__content {
  position: relative;
  isolation: isolate;
  width: var(--neh-hero-content-width);
  max-width: 100%;
  text-align: left;
}

.neh-hero__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -102px -10px -151px -260px;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 28% 52%,
      rgba(var(--rgb-brand-dark), .88) 0%,
      rgba(var(--rgb-brand-dark), .72) 34%,
      rgba(var(--rgb-brand-dark), .36) 60%,
      rgba(var(--rgb-brand-dark), 0) 78%
    );
  filter: blur(18px);
}

@media (max-width: 759px) {
  .neh-hero__content::before {
    inset: -34px -28px -42px -28px;
    background:
      radial-gradient(
        ellipse at 50% 56%,
        rgba(var(--rgb-brand-dark), .88) 0%,
        rgba(var(--rgb-brand-dark), .68) 38%,
        rgba(var(--rgb-brand-dark), .30) 64%,
        rgba(var(--rgb-brand-dark), 0) 82%
      );
    filter: blur(16px);
  }
}

.neh-hero__content .neh-kicker {
  margin: 0 0 16px 0;
  color: var(--neh-orange, var(--color-brand-accent));
}

.neh-hero__content h1 {
  max-width: var(--neh-hero-title-width, 100%);
  margin: 0;
  color: #ffffff;
  font-size: var(--neh-hero-h1);
  line-height: .96;
  font-weight: 900;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.neh-hero__content p:not(.neh-kicker) {
  max-width: var(--neh-hero-text-width, 620px);
  margin: 20px 0 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: var(--neh-hero-body);
  line-height: var(--neh-hero-line);
}

.neh-hero--bulk,
.neh-hero--aggregate,
.neh-hero--flatbed,
.neh-hero--gallery,
.neh-hero--skip {
  --neh-hero-image-position: center center;
}

.neh-hero--energy {
  --neh-hero-image-position: center 58%;
}

.neh-hero--earth {
  --neh-hero-image-position: center center;
}

@media (max-width: 759px) {
  .neh-hero--aggregate .neh-hero__image {
    content: url("../kuvat/murske-net.webp");
  }

  .neh-hero--energy {
    --neh-hero-image-position: center center;
  }
}

@media (min-width: 1500px) {
  .neh-service-page {
    --neh-hero-container: 1460px;
    --neh-hero-h1: clamp(56px, 4.6vw, 73px);
  }
}

@media (max-width: 900px) {
  .neh-service-page {
    --neh-hero-content-width: min(82vw, 760px);
    --neh-hero-title-width: 760px;
    --neh-hero-text-width: 560px;
    --neh-hero-h1: clamp(34px, 6vw, 58px);
  }
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-hero-height: 100svh;
    --neh-hero-x: 18px;
    --neh-hero-content-width: 100%;
    --neh-hero-title-width: 100%;
    --neh-hero-text-width: 390px;
    --neh-hero-h1: clamp(24px, 7vw, 46px);
    --neh-hero-body: 15.5px;
    --neh-hero-line: 1.55;
    --neh-hero-overlay: linear-gradient(
      180deg,
      rgba(var(--rgb-brand-dark), .10) 0%,
      rgba(var(--rgb-brand-dark), .42) 42%,
      rgba(var(--rgb-brand-dark), .94) 100%
    );
  }

  .neh-hero__inner {
    align-items: flex-end;
    padding-bottom: 58px;
  }

  .neh-hero__content h1 {
    max-width: var(--neh-hero-title-width, 100%);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .neh-hero__content p:not(.neh-kicker) {
    max-width: var(--neh-hero-text-width, 390px);
  }
}


/* -------------------------
   Theme helpers
------------------------- */

.neh-page-theme-bulk,
.neh-page-theme-energy,
.neh-page-theme-earth,
.neh-page-theme-aggregate,
.neh-page-theme-flatbed,
.neh-page-theme-gallery {
  --neh-container: 1560px;
  --neh-page-x: clamp(24px, 5vw, 120px);
  --neh-text-panel-max: 760px;
  --neh-theme-accent: var(--neh-orange);
  --neh-section-light: #f5f4f1;
  --neh-dark-gradient: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
}


/* =========================================================
   TYPOGRAFIA / H1 H2 H3
   Yksi keskitetty otsikkoasteikko kaikille palvelusivuille.
   Muuta ensisijaisesti näitä muuttujia, ei moduulikohtaisia
   fonttikokoja.
========================================================= */

.neh-service-page {
  --neh-h1-size: clamp(42px, 5vw, 82px);
  --neh-h2-size: clamp(34px, 4vw, 60px);
  --neh-h3-size: clamp(21px, 1.9vw, 30px);
  --neh-card-title-size: var(--neh-h3-size);

  --neh-section-min: 50svh;
  --neh-section-y: clamp(56px, 7svh, 96px);
  --neh-split-y: clamp(56px, 7svh, 104px);
  --neh-bg-section-y: clamp(56px, 7svh, 104px);
  --neh-bg-section-min: 50svh;

  --neh-h1-line: .96;
  --neh-h2-line: .98;
  --neh-h3-line: 1.06;

  --neh-heading-tracking-tight: -.048em;
  --neh-heading-tracking-normal: -.03em;

  --neh-heading-mobile-h1: clamp(24px, 6.5vw, 46px);
  --neh-heading-mobile-h2: clamp(24px, 6.2vw, 40px);
  --neh-heading-mobile-h3: clamp(21px, 5.4vw, 28px);
}

.neh-service-page h1,
.neh-service-page h2,
.neh-service-page h3 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-h1-size: var(--neh-heading-mobile-h1);
    --neh-h2-size: var(--neh-heading-mobile-h2);
    --neh-h3-size: var(--neh-heading-mobile-h3);
    --neh-card-title-size: var(--neh-heading-mobile-h3);

    --neh-section-min: 50svh;
    --neh-section-y: clamp(44px, 6svh, 62px);
    --neh-split-y: clamp(48px, 6svh, 66px);
    --neh-bg-section-y: clamp(56px, 8svh, 88px);
    --neh-bg-section-min: 50svh;

    --neh-h1-line: 1.02;
    --neh-h2-line: 1.04;
    --neh-h3-line: 1.08;

    --neh-heading-tracking-tight: -.032em;
    --neh-heading-tracking-normal: -.02em;
  }
}

@media (max-width: 353px) {
  .neh-service-page h1,
  .neh-service-page h2,
  .neh-service-page h3 {
    overflow-wrap: anywhere;
  }
}

/* -------------------------
   Section base
------------------------- */

.neh-section {
  position: relative;
  overflow: hidden;
  min-height: var(--neh-section-min);
  padding-block: var(--neh-section-y);
  display: flex;
  align-items: center;
}

.neh-section--light {
  color: #101820;
  background: var(--neh-section-light, #f5f4f1);
}

.neh-section--white {
  color: #101820;
  background: #ffffff;
}

.neh-section--dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .12), transparent 28%),
    var(--neh-dark-gradient, linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%));
}

.neh-section__inner,
.neh-container {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
}

.neh-section__head {
  max-width: 820px;
  margin: 0 0 clamp(34px, 5vw, 64px) 0;
}

.neh-section__head .neh-kicker,
.neh-section--dark .neh-kicker,
.neh-bg-section .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-section__head h2 {
  margin: 0;
  color: inherit;
  font-size: var(--neh-heading-section);
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-section__inner--side-head {
  display: grid;
  grid-template-columns: minmax(280px, .56fr) minmax(0, 1.44fr);
  align-items: start;
  gap: clamp(34px, 6vw, 88px);
}

.neh-section__inner--side-head .neh-section__head {
  margin-bottom: 0;
}

.neh-card-grid--light .neh-card--line {
  border-top-color: rgba(var(--rgb-brand-accent), .90);
}

.neh-card-grid--light .neh-card--line > span {
  color: var(--neh-orange-readable, var(--neh-orange));
}

.neh-card-grid--light .neh-card--line h3 {
  color: #101820;
}

.neh-card-grid--light .neh-card--line p {
  color: var(--color-text-body);
}

/* -------------------------
   Split layout: teksti + kuva
------------------------- */

.neh-split {
  min-height: var(--neh-section-min);
  padding-block: var(--neh-split-y);
  display: flex;
  align-items: center;
}

.neh-split__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 6vw, 104px);
}

.neh-split--reverse .neh-split__copy {
  order: 2;
}

.neh-split--reverse .neh-split__media {
  order: 1;
}

.neh-split__copy h2,
.neh-copy h2 {
  max-width: 760px;
  margin: 0 0 24px 0;
  color: inherit;
  font-size: var(--neh-heading-section);
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-split__copy p:not(.neh-kicker),
.neh-copy p:not(.neh-kicker) {
  max-width: 660px;
  margin: 0 0 18px 0;
  color: var(--color-text-body);
  font-size: 17px;
  line-height: 1.68;
}

.neh-section--dark .neh-split__copy p:not(.neh-kicker),
.neh-section--dark .neh-copy p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .86);
}

.neh-split__media {
  margin: 0;
}

.neh-split__media img {
  width: 100%;
  height: clamp(360px, 38vw, 620px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .18);
}

.neh-split__media p {
  margin: 14px 0 0 0;
  color: #44505a;
  font-size: 15px;
  line-height: 1.5;
}

/* -------------------------
   Card grid / vaiheistus
------------------------- */

.neh-card-grid {
  display: grid;
  gap: clamp(20px, 3vw, 46px);
}

.neh-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neh-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neh-card--line {
  padding-top: 26px;
  border-top: 3px solid rgba(var(--rgb-brand-accent), .88);
}

.neh-card__number,
.neh-card--line > span {
  display: block;
  margin-bottom: 18px;
  color: var(--neh-theme-accent, var(--neh-orange));
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
}

.neh-card__title,
.neh-card--line h3 {
  margin: 0 0 12px 0;
  color: #ffffff;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
}

.neh-card__text,
.neh-card--line p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15.5px;
  line-height: 1.6;
}

/* -------------------------
   Media cards / kuvalliset nostot
------------------------- */

.neh-media-card-grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.neh-media-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neh-media-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neh-media-card {
  min-width: 0;
}

.neh-media-card img {
  width: 100%;
  height: clamp(220px, 20vw, 340px);
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.neh-media-card h3 {
  margin: 0 0 8px 0;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.035em;
}

.neh-media-card p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

/* -------------------------
   Background image / parallax section
------------------------- */

.neh-bg-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--color-brand-dark);
  min-height: var(--neh-bg-section-min);
}

.neh-bg-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 75% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
  pointer-events: none;
}

.neh-bg-section--right-dark::before {
  background:
    linear-gradient(270deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 25% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
}

.neh-bg-section__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.neh-bg-section__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  min-height: var(--neh-bg-section-min);
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding-block: var(--neh-bg-section-y);
}

.neh-bg-section__copy {
  max-width: 700px;
}

.neh-bg-section--right-dark .neh-bg-section__copy {
  margin-left: auto;
}

.neh-bg-section__copy h2 {
  margin: 0 0 22px 0;
  color: #ffffff;
  font-size: var(--neh-heading-large);
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
  text-shadow: 0 8px 28px rgba(0, 0, 0, .42);
}

.neh-bg-section__copy p:not(.neh-kicker) {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

@media (min-width: 760px) {
  .neh-bg-section--parallax {
    background-image: var(--neh-bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .neh-bg-section--parallax > .neh-bg-section__img {
    display: none;
  }
}

.neh-bg-section--bulk {
  --neh-bg-image: url("../kuvat/lolvo-sailio.webp");
}

.neh-bg-section--energy {
  --neh-bg-image: url("../kuvat/hake4.webp");
}

.neh-bg-section--earth {
  --neh-bg-image: url("../kuvat/maa-lumi4.webp");
}


/* -------------------------
   Media mosaic / kuvamosaiikki
------------------------- */

.neh-split__inner--media-mosaic {
  grid-template-columns: minmax(300px, .72fr) minmax(460px, 1.18fr);
}

.neh-media-mosaic {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 16px;
}

.neh-media-mosaic__item {
  margin: 0;
  min-width: 0;
}

.neh-media-mosaic__item--main {
  grid-row: span 2;
}

.neh-media-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
}

/* -------------------------
   Full split: leveä kuva + tumma tekstipaneeli
------------------------- */

.neh-full-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  color: #ffffff;
  background: var(--color-brand-dark);
}

.neh-full-split__media {
  margin: 0;
}

.neh-full-split__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 42vw, 620px);
  object-fit: cover;
  object-position: center center;
}

.neh-full-split__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 112px) max(var(--neh-page-x), 34px) clamp(58px, 7vw, 112px) clamp(34px, 6vw, 86px);
  background:
    radial-gradient(circle at 86% 18%, rgba(var(--rgb-brand-accent), .18), transparent 28%),
    var(--neh-dark-gradient, linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%));
}

.neh-full-split__panel .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-full-split__panel h2 {
  max-width: 640px;
  margin: 0 0 22px 0;
  color: #ffffff;
  font-size: var(--neh-heading-large);
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-full-split__panel p:not(.neh-kicker) {
  max-width: 620px;
  margin: 0 0 18px 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.neh-full-split__panel p:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 1020px) {
  .neh-section__inner--side-head {
    grid-template-columns: 1fr;
  }

  .neh-card-grid--3,
  .neh-card-grid--4,
  .neh-media-card-grid--3,
  .neh-media-card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 919px) {
  .neh-full-split,
  .neh-split__inner,
  .neh-split__inner--media-mosaic {
    grid-template-columns: 1fr;
  }

  .neh-split--reverse .neh-split__copy,
  .neh-split--reverse .neh-split__media {
    order: initial;
  }

  .neh-full-split__panel {
    padding-inline: max(var(--neh-page-x), 28px);
  }

  .neh-full-split__media img {
    min-height: 320px;
  }
}

@media (max-width: 759px) {
  .neh-page-theme-bulk,
  .neh-page-theme-energy,
  .neh-page-theme-earth,
  .neh-page-theme-aggregate,
  .neh-page-theme-gallery {
    --neh-container: 1320px;
    --neh-page-x: 18px;
    --neh-text-panel-max: 430px;
  }

  .neh-section {
    padding-block: var(--neh-section-y);
  }

  .neh-split {
    padding-block: var(--neh-split-y);
  }

  .neh-section__inner,
  .neh-section__inner--side-head,
  .neh-container,
  .neh-split__inner,
  .neh-bg-section__inner {
    width: min(calc(100% - 36px), var(--neh-container));
  }

  .neh-split__media img,
  .neh-media-card img {
    height: 240px;
    border-radius: 14px;
  }

  .neh-card-grid--3,
  .neh-card-grid--4,
  .neh-media-card-grid--3,
  .neh-media-card-grid--4 {
    grid-template-columns: 1fr;
  }

  .neh-card--line {
    padding-top: 20px;
  }

  .neh-bg-section,
  .neh-bg-section__inner {
    min-height: var(--neh-bg-section-min);
  }

  .neh-bg-section__inner {
    padding-block: var(--neh-bg-section-y);
  }

  .neh-bg-section::before,
  .neh-bg-section--right-dark::before {
    background:
      linear-gradient(180deg, rgba(var(--rgb-brand-dark), .92) 0%, rgba(var(--rgb-brand-blue), .94) 100%),
      radial-gradient(circle at 75% 18%, rgba(var(--rgb-brand-accent), .18), transparent 30%);
  }

  .neh-bg-section__copy h2,
  .neh-full-split__panel h2,
  .neh-split__copy h2,
  .neh-copy h2 {
    font-size: clamp(32px, 10vw, 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .neh-bg-section--parallax {
    background-attachment: scroll;
  }

  .neh-bg-section--parallax > .neh-bg-section__img {
    display: block;
  }
}


/* -------------------------
   Vaihtolava theme + yleiset modulaariset apuluokat
------------------------- */

.neh-page-theme-skip {
  --neh-container: 1560px;
  --neh-page-x: clamp(24px, 5vw, 120px);
  --neh-text-panel-max: 700px;
  --neh-theme-accent: var(--neh-orange);
  --neh-section-light: #f5f4f1;
  --neh-dark-gradient: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
}

.neh-centered-intro .neh-section__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), 980px);
  text-align: center;
}

.neh-centered-intro h2 {
  max-width: 900px;
  margin: 0 auto 22px auto;
  color: inherit;
  font-size: clamp(38px, 5vw, 76px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.05em;
}

.neh-centered-intro p:not(.neh-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text-body);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.68;
}

.neh-bg-section--skip {
  --neh-bg-image: url("../kuvat/vaihtolava.webp");
}

.neh-bg-section--skip .neh-bg-section__img {
  object-position: center center;
}

.neh-detail-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(16, 24, 32, .16);
}

.neh-detail-list p {
  margin: 0;
  padding: 26px 0;
  color: var(--color-text-body);
  font-size: 16.5px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(16, 24, 32, .14);
}

.neh-detail-list strong {
  color: #101820;
  font-weight: 900;
}

.neh-detail-layout {
  align-items: start;
}

@media (max-width: 759px) {
  .neh-centered-intro .neh-section__inner {
    width: min(calc(100% - 36px), var(--neh-container));
    text-align: left;
  }

  .neh-centered-intro h2,
  .neh-centered-intro p:not(.neh-kicker) {
    margin-inline: 0;
  }

  .neh-service-mobile-narrow .neh-section__inner,
  .neh-service-mobile-narrow .neh-split__inner,
  .neh-service-mobile-narrow .neh-bg-section__inner {
    width: min(calc(100% - 72px), 430px);
    max-width: 430px;
    margin-inline: auto;
    min-width: 0;
  }

  .neh-service-mobile-narrow .neh-split__copy,
  .neh-service-mobile-narrow .neh-detail-list,
  .neh-service-mobile-narrow .neh-copy {
    min-width: 0;
    max-width: 100%;
  }

  .neh-service-mobile-narrow h2 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .neh-detail-list p {
    padding: 22px 0;
    font-size: 15.5px;
  }
}


@media (max-width: 759px) {
  .neh-media-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .neh-media-mosaic__item--main {
    grid-row: auto;
  }

  .neh-media-mosaic img {
    height: 230px;
    border-radius: 14px;
  }
}


/* -------------------------
   Lavettisiirrot theme + yleiset modulaariset apuluokat
------------------------- */

.neh-page-theme-flatbed {
  --neh-container: 1560px;
  --neh-page-x: clamp(24px, 5vw, 120px);
  --neh-text-panel-max: 760px;
  --neh-theme-accent: var(--neh-orange);
  --neh-section-light: #f5f4f1;
  --neh-dark-gradient: linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
}


.neh-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 42px);
  margin-top: clamp(44px, 5vw, 72px);
}

.neh-hero-points article {
  min-width: 0;
}

.neh-hero-points span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 2px solid var(--neh-theme-accent, var(--neh-orange));
  border-radius: 999px;
  color: var(--neh-theme-accent, var(--neh-orange));
  font-size: 24px;
  font-weight: 900;
}

.neh-hero-points h2 {
  margin: 0 0 8px 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.neh-hero-points p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14.5px;
  line-height: 1.55;
}

.neh-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 14px 24px;
  border-radius: 8px;
  color: #101820;
  background: var(--neh-theme-accent, var(--neh-orange));
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.neh-inline-button::after {
  content: "›";
  margin-left: 12px;
  font-size: 22px;
  line-height: 1;
}

.neh-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.neh-fact-list {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 3.4vw, 46px);
  border-radius: 18px;
  background: #f5f4f1;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
}

.neh-fact-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.neh-fact-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--neh-orange-readable, #9a5600);
  border: 2px solid var(--neh-theme-accent, var(--neh-orange));
  border-radius: 12px;
  font-size: 24px;
  font-weight: 900;
}

.neh-fact-list h3 {
  margin: 0 0 8px 0;
  color: #101820;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900;
}

.neh-fact-list p {
  margin: 0;
  color: var(--color-text-body);
  font-size: 15.5px;
  line-height: 1.56;
}

.neh-bg-section--flatbed {
  --neh-bg-image: url("../kuvat/lavetti-wide-safety.webp");
}

@media (max-width: 919px) {
  .neh-hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .neh-page-theme-flatbed {
    --neh-container: 1320px;
    --neh-page-x: 18px;
    --neh-text-panel-max: 430px;
  }

  .neh-hero-points {
    display: none;
  }

  .neh-fact-list {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .neh-fact-list article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .neh-fact-list span {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}


/* -------------------------
   Maanrakennusajot: mobiilihero käyttää pystympää kuvaa
------------------------- */

@media (max-width: 759px) {

  .neh-full-split__panel {
    padding: 54px 18px;
  }
}

/* =========================================================
   HERO-MODUULIN KESKITETTY OHJAUS
   Hero käyttää samaa h1-asteikkoa kuin muu typografia.
========================================================= */

.neh-service-page {
  --neh-hero-content-max: var(--neh-text-panel-max, 720px);
  --neh-hero-title-max: var(--neh-hero-content-max);
  --neh-hero-title-size: var(--neh-h1-size);
  --neh-hero-title-line: var(--neh-h1-line);
  --neh-hero-title-tracking: var(--neh-heading-tracking-tight);
}

.neh-page-theme-bulk,
.neh-page-theme-energy,
.neh-page-theme-earth,
.neh-page-theme-aggregate,
.neh-page-theme-gallery {
  --neh-hero-content-max: clamp(680px, 54vw, 980px);
  --neh-hero-title-max: var(--neh-hero-content-max);
}

.neh-page-theme-skip {
  --neh-hero-content-max: clamp(620px, 48vw, 880px);
  --neh-hero-title-max: var(--neh-hero-content-max);
}

.neh-page-theme-flatbed {
  --neh-hero-content-max: clamp(760px, 58vw, 1080px);
  --neh-hero-title-max: var(--neh-hero-content-max);
}

@media (max-width: 759px) {
  .neh-service-page,
  .neh-page-theme-bulk,
  .neh-page-theme-energy,
  .neh-page-theme-earth,
  .neh-page-theme-aggregate,
  .neh-page-theme-gallery,
  .neh-page-theme-skip,
  .neh-page-theme-flatbed {
    --neh-hero-mobile-width: min(85vw, 640px);
    --neh-hero-content-max: var(--neh-hero-mobile-width);
    --neh-hero-title-max: var(--neh-hero-mobile-width);
    --neh-hero-title-size: var(--neh-h1-size);
    --neh-hero-title-line: var(--neh-h1-line);
    --neh-hero-title-tracking: var(--neh-heading-tracking-tight);
  }
}

/* =========================================================
   KESKITETTY INTRO TUMMALLA POHJALLA
   Korjaa muut-palvelut-sivun ala-CTA:n liian tumman tekstin.
========================================================= */

.neh-section--dark.neh-centered-intro .neh-kicker,
.neh-section--dark .neh-centered-intro .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-section--dark.neh-centered-intro p:not(.neh-kicker),
.neh-section--dark .neh-centered-intro p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .82);
}

/* =========================================================
   TYPOGRAFIA / MODUULIEN YHTENÄISTYS
   Pakottaa eri sectionit käyttämään samaa H1 / H2 / H3 -asteikkoa.
========================================================= */

.neh-section__head h2,
.neh-split__copy h2,
.neh-copy h2,
.neh-bg-section__copy h2,
.neh-centered-intro h2,
.neh-full-split__panel h2 {
  font-size: var(--neh-h2-size);
  line-height: var(--neh-h2-line);
  letter-spacing: var(--neh-heading-tracking-tight);
}

.neh-card__title,
.neh-card--line h3,
.neh-media-card h3,
.neh-fact-list h3,
.neh-hero-points h2 {
  font-size: var(--neh-card-title-size);
  line-height: var(--neh-h3-line);
  letter-spacing: var(--neh-heading-tracking-normal);
}

.neh-card__title,
.neh-card--line h3,
.neh-media-card h3 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.neh-split__inner,
.neh-split__inner--media-mosaic {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

.neh-split__copy,
.neh-split__media,
.neh-copy,
.neh-section__head,
.neh-card--line,
.neh-media-card,
.neh-full-split__panel {
  min-width: 0;
}

.neh-section__inner--side-head {
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 64px);
}

.neh-section__inner--side-head .neh-section__head {
  max-width: 980px;
  margin-bottom: 0;
}

.neh-card-grid--4 {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: clamp(20px, 2.4vw, 38px);
}

@media (max-width: 1380px) {
  .neh-card-grid--4 {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 1180px) {
  .neh-split__inner,
  .neh-split__inner--media-mosaic {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .neh-card-grid--4 {
    grid-template-columns: 1fr;
  }

  .neh-section__head h2,
  .neh-split__copy h2,
  .neh-copy h2,
  .neh-bg-section__copy h2,
  .neh-centered-intro h2,
  .neh-full-split__panel h2 {
    font-size: var(--neh-h2-size);
    line-height: var(--neh-h2-line);
    letter-spacing: var(--neh-heading-tracking-tight);
  }

  .neh-card__title,
  .neh-card--line h3,
  .neh-media-card h3,
  .neh-fact-list h3,
  .neh-hero-points h2 {
    font-size: var(--neh-card-title-size);
    line-height: var(--neh-h3-line);
  }
}

/* Lavettisivun parallax-osio näyttävämmäksi */
.neh-bg-section--flatbed {
  min-height: clamp(440px, 44vw, 680px);
}

.neh-bg-section--flatbed .neh-bg-section__img {
  filter: saturate(1.05) contrast(1.06);
}

.neh-bg-section--flatbed::before {
  background:
    linear-gradient(
      90deg,
      rgba(var(--rgb-brand-dark), .16) 0%,
      rgba(var(--rgb-brand-dark), .30) 38%,
      rgba(var(--rgb-brand-dark), .82) 68%,
      rgba(var(--rgb-brand-dark), .96) 100%
    );
}

.neh-bg-section--flatbed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 45%, rgba(var(--rgb-brand-accent), .13), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .22) 100%);
}

.neh-bg-section--flatbed .neh-bg-section__inner {
  position: relative;
  z-index: 3;
}

.neh-bg-section--flatbed .neh-bg-section__copy {
  max-width: 620px;
  margin-left: auto;
  padding: clamp(26px, 3vw, 44px);
  border-radius: 18px;
  background: rgba(var(--rgb-brand-dark), .46);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

@media (max-width: 759px) {
  .neh-bg-section--flatbed {
    min-height: 520px;
  }

  .neh-bg-section--flatbed::before {
    background:
      linear-gradient(
        180deg,
        rgba(var(--rgb-brand-dark), .22) 0%,
        rgba(var(--rgb-brand-dark), .58) 44%,
        rgba(var(--rgb-brand-dark), .94) 100%
      );
  }

  .neh-bg-section--flatbed .neh-bg-section__copy {
    max-width: 100%;
    margin-left: 0;
    padding: 24px 20px;
    background: rgba(var(--rgb-brand-dark), .58);
  }
}

/* Palvelusivujen otsikoiden hienosäätö */
.neh-service-page h1,
.neh-service-page h2,
.neh-service-page h3 {
  text-wrap: balance;
}

.neh-service-page .neh-hero-title,
.neh-service-page .neh-bg-section__copy h2,
.neh-service-page .neh-split__copy h2,
.neh-service-page .neh-section__head h2 {
  letter-spacing: -.045em;
}

.neh-service-page .neh-split__copy h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.02;
}

.neh-service-page .neh-section__head h2 {
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.04;
}

.neh-service-page .neh-bg-section__copy h2 {
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: .98;
}

.neh-service-page .neh-media-card h3 {
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.neh-service-page .neh-fact-list h3 {
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.15;
}

@media (max-width: 759px) {
  .neh-service-page .neh-split__copy h2,
  .neh-service-page .neh-section__head h2,
  .neh-service-page .neh-bg-section__copy h2 {
    font-size: clamp(25px, 7.7vw, 43px);
    line-height: 1.02;
    letter-spacing: -.04em;
  }
}

/* Faktakortti siistimmäksi */
.neh-fact-list {
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid rgba(16, 24, 32, .06);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--rgb-brand-accent), .08), transparent 32%),
    #ffffff;
  box-shadow: 0 22px 58px rgba(0, 0, 0, .10);
}

.neh-fact-list article {
  padding: 18px 0;
}

.neh-fact-list article:first-child {
  padding-top: 0;
}

.neh-fact-list article:last-child {
  padding-bottom: 0;
}

.neh-fact-list span {
  color: var(--neh-orange);
  border-color: rgba(var(--rgb-brand-accent), .55);
  background: rgba(var(--rgb-brand-accent), .08);
}


/* =========================================================
   HERO LEFT CLEAN V2
   Section-korkeuksiin koskevat 1080p-patchit poistettu.
   Tämä versio muuttaa vain uuden .neh-hero-rakenteen.
========================================================= */


/* =========================================================
   HERO LEFT CLEAN V3 / SECTION-KORKEUDET PALAUTETTU
   Sectionien korkeudet ovat nyt yhdessä muuttujaryhmässä:
   --neh-section-y, --neh-split-y, --neh-bg-section-y, --neh-bg-section-min.
   Ei 1080p-patchia eikäia section-korkeuksiin.
========================================================= */


/* =========================================================
   VIEWPORT HEIGHTS 1
   Hero on vähintään 100svh.
   Tavalliset sectionit, splitit ja bg-sectionit ovat vähintään 50svh.
   Korkeus on min-height, eli sisältö saa kasvattaa osiota.
========================================================= */


/* =========================================================
   Lähde: section-system.css
========================================================= */

/* =========================================================
   NEHVONEN SECTION SYSTEM
   Tuotantoversio: sectionclean1

   Palvelusivujen ulkoasun keskitetty CSS.
   Ei erillisiä työvaihe-/fix-blokkeja.

   Rakenne:
   1. Perusmuuttujat, sectionit ja päälayoutit
   2. Palvelusivujen hero-kuvat
   3. Palvelusivujen otsikkokoot
   4. Palvelusivujen responsiiviset leveydet
   5. Head-grid-layout
   6. Kortit, kuvapaneelit, full split, note ja teemakohtaiset säädöt

   Otsikkokoot säädetään kuudesta muuttujasta:
   --neh-service-h1-desktop
   --neh-service-h2-desktop
   --neh-service-h3-desktop
   --neh-service-h1-mobile
   --neh-service-h2-mobile
   --neh-service-h3-mobile
========================================================= */

/* =========================================================
   1. Perusmuuttujat, sectionit ja päälayoutit
========================================================= */

:root {
  --neh-card-gap: clamp(18px, 2.3vw, 30px);
}

.neh-service-page .neh-section {
  position: relative;
  isolation: isolate;
  color: #ffffff;
}

.neh-service-page .neh-section:not(.neh-hero) {
  padding-inline: var(--neh-page-x);
}

.neh-service-page .neh-container,
.neh-service-page .neh-section__inner {
  width: min(100%, var(--neh-container));
  margin-inline: auto;
  min-width: 0;
}

.neh-service-page .neh-container--wide {
  width: min(100%, var(--neh-container-wide));
}

.neh-service-page .neh-bg--light {
  background: var(--color-bg-light);
  color: var(--color-brand-dark);
}

.neh-service-page .neh-bg--white {
  background: #ffffff;
  color: var(--color-brand-dark);
}

.neh-service-page .neh-bg--dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .12), transparent 28%),
    linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  color: #ffffff;
}

.neh-service-page .neh-bg--light .neh-kicker,
.neh-service-page .neh-bg--white .neh-kicker {
  color: #9a5600;
}

.neh-service-page .neh-bg--dark .neh-kicker,
.neh-service-page .neh-bg--image .neh-kicker {
  color: var(--neh-orange, var(--color-brand-accent));
}

/* Split / normaalit tekstikuva-osiot */
.neh-service-page .neh-layout--split,
.neh-service-page .neh-layout--mosaic,
.neh-service-page .neh-layout--side-head {
  min-height: var(--neh-section-min);
  padding-block: var(--neh-split-y);
}

.neh-service-page .neh-layout--split > .neh-section__inner,
.neh-service-page .neh-layout--mosaic > .neh-section__inner,
.neh-service-page .neh-layout--side-head > .neh-section__inner {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 6vw, 104px);
}

.neh-service-page .neh-layout--detail > .neh-section__inner {
  align-items: start;
}

.neh-service-page .neh-layout--mosaic > .neh-section__inner {
  grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr);
}

.neh-service-page .neh-section__copy {
  min-width: 0;
  max-width: 720px;
}

.neh-service-page .neh-section__copy h2,
.neh-service-page .neh-section__head h2 {
  max-width: 880px;
  margin: 0 0 clamp(18px, 2vw, 28px) 0;
  color: inherit;
  font-size: var(--neh-heading-section);
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
  text-wrap: balance;
}

.neh-service-page .neh-section__copy p:not(.neh-kicker),
.neh-service-page .neh-section__head p:not(.neh-kicker) {
  max-width: 680px;
  margin: 0 0 18px 0;
  color: var(--color-text-body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.68;
}

.neh-service-page .neh-bg--dark .neh-section__copy p:not(.neh-kicker),
.neh-service-page .neh-bg--dark .neh-section__head p:not(.neh-kicker),
.neh-service-page .neh-bg--image .neh-section__copy p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .86);
}

.neh-service-page .neh-section__media {
  min-width: 0;
  margin: 0;
}

.neh-service-page .neh-layout--split .neh-section__media img,
.neh-service-page .neh-layout--mosaic .neh-section__media img {
  display: block;
  width: 100%;
  height: clamp(360px, 38vw, 620px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .18);
}

.neh-service-page .neh-section__media figcaption,
.neh-service-page .neh-section__media p {
  margin: 14px 0 0 0;
  max-width: 560px;
  color: #44505a;
  font-size: 15px;
  line-height: 1.5;
}

/* Keskitetty intro */
.neh-service-page .neh-layout--center {
  padding-block: clamp(56px, 7vw, 100px);
  text-align: center;
}

.neh-service-page .neh-layout--center > .neh-section__inner {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.neh-service-page .neh-align--center {
  margin-inline: auto;
  text-align: center;
}

.neh-service-page .neh-align--center p {
  margin-inline: auto;
}

/* Kortit */
.neh-service-page .neh-layout--cards {
  padding-block: var(--neh-section-y);
}

.neh-service-page .neh-layout--cards > .neh-section__inner {
  display: grid;
  gap: clamp(32px, 4vw, 58px);
}

.neh-service-page .neh-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: var(--neh-card-gap);
}

.neh-service-page .neh-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neh-service-page .neh-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neh-service-page .neh-card {
  min-width: 0;
}

.neh-service-page .neh-card--line {
  padding-top: clamp(20px, 2.5vw, 30px);
  border-top: 3px solid var(--neh-orange, var(--color-brand-accent));
}

.neh-service-page .neh-card--line h3 {
  margin: 0 0 10px 0;
  color: inherit;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.035em;
}

.neh-service-page .neh-card--line p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15.5px;
  line-height: 1.58;
}

.neh-service-page .neh-bg--white .neh-card--line p,
.neh-service-page .neh-bg--light .neh-card--line p {
  color: #36434f;
}

.neh-service-page .neh-grid--media .neh-card--media img {
  display: block;
  width: 100%;
  height: clamp(220px, 20vw, 340px);
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.neh-service-page .neh-grid--media .neh-card--media h3 {
  margin: 0 0 8px 0;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.035em;
}

.neh-service-page .neh-grid--media .neh-card--media p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

/* Kuvatausta / parallax-paneelit */
.neh-service-page .neh-bg--image {
  position: relative;
  overflow: hidden;
  min-height: var(--neh-bg-section-min);
  color: #ffffff;
  background: var(--color-brand-dark);
}

.neh-service-page .neh-bg--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 75% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
  pointer-events: none;
}

.neh-service-page .neh-panel--right::before {
  background:
    linear-gradient(270deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 25% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
}

.neh-service-page .neh-section__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.neh-service-page .neh-layout--panel > .neh-section__inner {
  position: relative;
  z-index: 2;
  min-height: var(--neh-bg-section-min);
  display: flex;
  align-items: center;
  padding-block: var(--neh-bg-section-y);
}

.neh-service-page .neh-panel--right > .neh-section__inner {
  justify-content: flex-end;
}

.neh-service-page .neh-panel--left > .neh-section__inner,
.neh-service-page .neh-layout--panel:not(.neh-panel--right) > .neh-section__inner {
  justify-content: flex-start;
}

.neh-service-page .neh-layout--panel .neh-section__copy {
  width: min(100%, 700px);
  max-width: 700px;
  padding: clamp(24px, 3vw, 42px);
  border-left: 5px solid var(--neh-orange, var(--color-brand-accent));
  background: rgba(var(--rgb-brand-dark), .72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32);
}

.neh-service-page .neh-layout--panel .neh-section__copy h2 {
  max-width: 620px;
  color: #ffffff;
  font-size: var(--neh-heading-large);
}

.neh-service-page .neh-layout--panel .neh-section__copy p:not(.neh-kicker) {
  max-width: 560px;
}

/* Full split */
.neh-service-page .neh-layout--full-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  color: #ffffff;
  background: var(--color-brand-dark);
  padding: 0;
}

.neh-service-page .neh-layout--full-split > .neh-section__media {
  margin: 0;
}

.neh-service-page .neh-layout--full-split > .neh-section__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 42vw, 620px);
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
}

.neh-service-page .neh-layout--full-split > .neh-section__copy {
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 112px) max(var(--neh-page-x), 34px) clamp(58px, 7vw, 112px) clamp(34px, 6vw, 86px);
  background:
    radial-gradient(circle at 86% 18%, rgba(var(--rgb-brand-accent), .18), transparent 28%),
    linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
}

.neh-service-page .neh-layout--full-split > .neh-section__copy h2 {
  max-width: 640px;
  color: #ffffff;
  font-size: var(--neh-heading-large);
}

/* Detail-listat / faktat / mosaiikki */
.neh-service-page .neh-detail-list {
  display: grid;
  gap: 14px;
}

.neh-service-page .neh-detail-list p {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--neh-orange, var(--color-brand-accent));
  border-radius: 14px;
  background: var(--color-bg-light-2);
  color: var(--color-text-body);
  box-shadow: 0 10px 28px rgba(var(--rgb-brand-dark), .08);
}

.neh-service-page .neh-fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.neh-service-page .neh-fact-list article {
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 18px;
  background: var(--color-bg-light-2);
  box-shadow: 0 12px 30px rgba(var(--rgb-brand-dark), .08);
}

.neh-service-page .neh-media-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.neh-service-page .neh-media-mosaic__item {
  margin: 0;
}

.neh-service-page .neh-media-mosaic__item--main {
  grid-column: 1 / -1;
}

.neh-service-page .neh-media-mosaic img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}

.neh-service-page .neh-media-mosaic__item--main img {
  height: clamp(300px, 34vw, 520px);
}

/* HOX / note */
.neh-service-page .neh-layout--note {
  min-height: auto;
  padding: clamp(34px, 5vw, 70px) var(--neh-page-x);
}

.neh-service-page .neh-note {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 20%, rgba(var(--rgb-brand-accent), .22), transparent 30%),
    rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}

.neh-service-page .neh-note__label {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  color: var(--color-brand-dark);
  background: var(--neh-orange, var(--color-brand-accent));
  font-weight: 900;
}

.neh-service-page .neh-note p {
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.35;
}

/* Mobiili */
@media (max-width: 1020px) {
  .neh-service-page .neh-grid--3,
  .neh-service-page .neh-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 919px) {
  .neh-service-page .neh-layout--split > .neh-section__inner,
  .neh-service-page .neh-layout--mosaic > .neh-section__inner,
  .neh-service-page .neh-layout--side-head > .neh-section__inner,
  .neh-service-page .neh-layout--full-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  

  .neh-service-page .neh-layout--split,
  .neh-service-page .neh-layout--mosaic,
  .neh-service-page .neh-layout--side-head,
  .neh-service-page .neh-layout--cards {
    padding-block: clamp(54px, 8vh, 78px);
  }

  .neh-service-page .neh-grid--3,
  .neh-service-page .neh-grid--4,
  .neh-service-page .neh-fact-list,
  .neh-service-page .neh-media-mosaic {
    grid-template-columns: 1fr;
  }

  .neh-service-page .neh-layout--split .neh-section__media img,
  .neh-service-page .neh-layout--mosaic .neh-section__media img,
  .neh-service-page .neh-grid--media .neh-card--media img {
    height: auto;
    min-height: 220px;
  }

  .neh-service-page .neh-bg--image,
  .neh-service-page .neh-layout--panel > .neh-section__inner {
    min-height: clamp(520px, 76svh, 760px);
  }

  .neh-service-page .neh-layout--panel > .neh-section__inner {
    align-items: flex-end;
    padding-block: clamp(42px, 8vh, 68px);
  }

  .neh-service-page .neh-layout--panel .neh-section__copy {
    width: 100%;
    padding: 22px 18px;
    border-left-width: 4px;
    background: rgba(var(--rgb-brand-dark), .74);
  }

  .neh-service-page .neh-layout--panel .neh-section__copy h2,
  .neh-service-page .neh-section__copy h2,
  .neh-service-page .neh-section__head h2 {
    font-size: clamp(26px, 7.5vw, 42px);
    line-height: 1.03;
    overflow-wrap: normal;
    word-break: normal;
  }

  .neh-service-page .neh-layout--full-split > .neh-section__media img {
    min-height: 280px;
  }

  .neh-service-page .neh-layout--full-split > .neh-section__copy {
    padding: 48px 18px;
  }

  .neh-service-page .neh-note {
    display: grid;
    justify-items: start;
  }

  .neh-service-page .neh-note__label {
    width: 60px;
    height: 60px;
  }

  .neh-service-page .neh-mobile--narrow > .neh-section__inner {
    width: min(calc(100% - 28px), 430px);
    max-width: 430px;
  }
}

.neh-service-page {
  --neh-hero-height: 100svh;
  --neh-hero-container: 1360px;
  --neh-hero-x: clamp(20px, 5vw, 76px);
  --neh-hero-content-width: min(72vw, 1120px);
  --neh-hero-title-width: 1120px;
  --neh-hero-text-width: 620px;
  --neh-hero-h1: clamp(40px, 4vw, 72px);
  --neh-hero-body: 16px;
  --neh-hero-line: 1.65;
  --neh-hero-image-position: center center;
  --neh-hero-overlay: linear-gradient(
    90deg,
    rgba(var(--rgb-brand-dark), .90) 0%,
    rgba(var(--rgb-brand-dark), .68) 38%,
    rgba(var(--rgb-brand-dark), .22) 100%
  );
}

.neh-service-page {
  --neh-h1-size: clamp(42px, 5vw, 82px);
  --neh-h2-size: clamp(34px, 4vw, 60px);
  --neh-h3-size: clamp(21px, 1.9vw, 30px);
  --neh-card-title-size: var(--neh-h3-size);

  --neh-section-min: 50svh;
  --neh-section-y: clamp(56px, 7svh, 96px);
  --neh-split-y: clamp(56px, 7svh, 104px);
  --neh-bg-section-y: clamp(56px, 7svh, 104px);
  --neh-bg-section-min: 50svh;

  --neh-h1-line: .96;
  --neh-h2-line: .98;
  --neh-h3-line: 1.06;

  --neh-heading-tracking-tight: -.048em;
  --neh-heading-tracking-normal: -.03em;

  --neh-heading-mobile-h1: clamp(24px, 6.5vw, 46px);
  --neh-heading-mobile-h2: clamp(24px, 6.2vw, 40px);
  --neh-heading-mobile-h3: clamp(21px, 5.4vw, 28px);
}

.neh-service-page h1,
.neh-service-page h2,
.neh-service-page h3 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.neh-bg--light {
  color: #101820;
  background: var(--neh-section-light, #f5f4f1);
}

.neh-bg--white {
  color: #101820;
  background: #ffffff;
}

.neh-bg--dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .12), transparent 28%),
    var(--neh-dark-gradient, linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%));
}

.neh-section__head .neh-kicker,
.neh-bg--dark .neh-kicker,
.neh-bg--image .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-grid--light .neh-card--line {
  border-top-color: rgba(var(--rgb-brand-accent), .90);
}

.neh-grid--light .neh-card--line > span {
  color: var(--neh-orange-readable, var(--neh-orange));
}

.neh-grid--light .neh-card--line h3 {
  color: #101820;
}

.neh-grid--light .neh-card--line p {
  color: var(--color-text-body);
}

.neh-layout--split {
  min-height: var(--neh-section-min);
  padding-block: var(--neh-split-y);
  display: flex;
  align-items: center;
}

.neh-layout--split > .neh-section__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 6vw, 104px);
}

.neh-layout--split--reverse .neh-section__copy {
  order: 2;
}

.neh-layout--split--reverse .neh-section__media {
  order: 1;
}

.neh-section__copy h2,
.neh-copy h2 {
  max-width: 760px;
  margin: 0 0 24px 0;
  color: inherit;
  font-size: var(--neh-heading-section);
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-section__copy p:not(.neh-kicker),
.neh-copy p:not(.neh-kicker) {
  max-width: 660px;
  margin: 0 0 18px 0;
  color: var(--color-text-body);
  font-size: 17px;
  line-height: 1.68;
}

.neh-bg--dark .neh-section__copy p:not(.neh-kicker),
.neh-bg--dark .neh-copy p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .86);
}

.neh-section__media {
  margin: 0;
}

.neh-section__media img {
  width: 100%;
  height: clamp(360px, 38vw, 620px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .18);
}

.neh-section__media p {
  margin: 14px 0 0 0;
  color: #44505a;
  font-size: 15px;
  line-height: 1.5;
}

.neh-grid {
  display: grid;
  gap: clamp(20px, 3vw, 46px);
}

.neh-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neh-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neh-grid--media {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}

.neh-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.neh-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.neh-card--media {
  min-width: 0;
}

.neh-card--media img {
  width: 100%;
  height: clamp(220px, 20vw, 340px);
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.neh-card--media h3 {
  margin: 0 0 8px 0;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.035em;
}

.neh-card--media p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

.neh-bg--image {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: var(--color-brand-dark);
  min-height: var(--neh-bg-section-min);
}

.neh-bg--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 75% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
  pointer-events: none;
}

.neh-panel--right::before {
  background:
    linear-gradient(270deg, rgba(var(--rgb-brand-dark), .94) 0%, rgba(var(--rgb-brand-dark), .70) 45%, rgba(var(--rgb-brand-dark), .22) 100%),
    radial-gradient(circle at 25% 18%, rgba(var(--rgb-brand-accent), .22), transparent 30%);
}

.neh-section__bg-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.neh-layout--panel > .neh-section__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  min-height: var(--neh-bg-section-min);
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding-block: var(--neh-bg-section-y);
}

.neh-layout--panel .neh-section__copy {
  max-width: 700px;
}

.neh-panel--right .neh-layout--panel .neh-section__copy {
  margin-left: auto;
}

.neh-layout--panel .neh-section__copy h2 {
  margin: 0 0 22px 0;
  color: #ffffff;
  font-size: var(--neh-heading-large);
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
  text-shadow: 0 8px 28px rgba(0, 0, 0, .42);
}

.neh-layout--panel .neh-section__copy p:not(.neh-kicker) {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.neh-theme--bulk {
  --neh-bg-image: url("../kuvat/lolvo-sailio.webp");
}

.neh-theme--energy {
  --neh-bg-image: url("../kuvat/hake4.webp");
}

.neh-theme--earth {
  --neh-bg-image: url("../kuvat/maa-lumi4.webp");
}

.neh-layout--mosaic > .neh-section__inner {
  grid-template-columns: minmax(300px, .72fr) minmax(460px, 1.18fr);
}

.neh-layout--full-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  color: #ffffff;
  background: var(--color-brand-dark);
}

.neh-layout--full-split > .neh-section__media {
  margin: 0;
}

.neh-layout--full-split > .neh-section__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(380px, 42vw, 620px);
  object-fit: cover;
  object-position: center center;
}

.neh-layout--full-split > .neh-section__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(58px, 7vw, 112px) max(var(--neh-page-x), 34px) clamp(58px, 7vw, 112px) clamp(34px, 6vw, 86px);
  background:
    radial-gradient(circle at 86% 18%, rgba(var(--rgb-brand-accent), .18), transparent 28%),
    var(--neh-dark-gradient, linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%));
}

.neh-layout--full-split > .neh-section__copy .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-layout--full-split > .neh-section__copy h2 {
  max-width: 640px;
  margin: 0 0 22px 0;
  color: #ffffff;
  font-size: var(--neh-heading-large);
  line-height: var(--neh-heading-line);
  font-weight: 900;
  letter-spacing: var(--neh-heading-tight);
}

.neh-layout--full-split > .neh-section__copy p:not(.neh-kicker) {
  max-width: 620px;
  margin: 0 0 18px 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.neh-layout--full-split > .neh-section__copy p:last-child {
  margin-bottom: 0;
}

.neh-layout--center .neh-section__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), 980px);
  text-align: center;
}

.neh-layout--center h2 {
  max-width: 900px;
  margin: 0 auto 22px auto;
  color: inherit;
  font-size: clamp(38px, 5vw, 76px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.05em;
}

.neh-layout--center p:not(.neh-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text-body);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.68;
}

.neh-theme--skip {
  --neh-bg-image: url("../kuvat/vaihtolava.webp");
}

.neh-theme--skip .neh-section__bg-image {
  object-position: center center;
}

.neh-theme--flatbed {
  --neh-bg-image: url("../kuvat/lavetti-wide-safety.webp");
}

.neh-service-page {
  --neh-hero-content-max: var(--neh-text-panel-max, 720px);
  --neh-hero-title-max: var(--neh-hero-content-max);
  --neh-hero-title-size: var(--neh-h1-size);
  --neh-hero-title-line: var(--neh-h1-line);
  --neh-hero-title-tracking: var(--neh-heading-tracking-tight);
}

.neh-bg--dark.neh-layout--center .neh-kicker,
.neh-bg--dark .neh-layout--center .neh-kicker {
  color: var(--neh-theme-accent, var(--neh-orange));
}

.neh-bg--dark.neh-layout--center p:not(.neh-kicker),
.neh-bg--dark .neh-layout--center p:not(.neh-kicker) {
  color: rgba(255, 255, 255, .82);
}

.neh-section__head h2,
.neh-section__copy h2,
.neh-copy h2,
.neh-layout--panel .neh-section__copy h2,
.neh-layout--center h2,
.neh-layout--full-split > .neh-section__copy h2 {
  font-size: var(--neh-h2-size);
  line-height: var(--neh-h2-line);
  letter-spacing: var(--neh-heading-tracking-tight);
}

.neh-card__title,
.neh-card--line h3,
.neh-card--media h3,
.neh-fact-list h3,
.neh-hero-points h2 {
  font-size: var(--neh-card-title-size);
  line-height: var(--neh-h3-line);
  letter-spacing: var(--neh-heading-tracking-normal);
}

.neh-card__title,
.neh-card--line h3,
.neh-card--media h3 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.neh-layout--split > .neh-section__inner,
.neh-layout--mosaic > .neh-section__inner {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

.neh-section__copy,
.neh-section__media,
.neh-copy,
.neh-section__head,
.neh-card--line,
.neh-card--media,
.neh-layout--full-split > .neh-section__copy {
  min-width: 0;
}

.neh-grid--4 {
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: clamp(20px, 2.4vw, 38px);
}

.neh-theme--flatbed {
  min-height: clamp(440px, 44vw, 680px);
}

.neh-theme--flatbed .neh-section__bg-image {
  filter: saturate(1.05) contrast(1.06);
}

.neh-theme--flatbed::before {
  background:
    linear-gradient(
      90deg,
      rgba(var(--rgb-brand-dark), .16) 0%,
      rgba(var(--rgb-brand-dark), .30) 38%,
      rgba(var(--rgb-brand-dark), .82) 68%,
      rgba(var(--rgb-brand-dark), .96) 100%
    );
}

.neh-theme--flatbed::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 45%, rgba(0, 0, 0, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .22) 100%);
}

.neh-theme--flatbed .neh-layout--panel > .neh-section__inner {
  position: relative;
  z-index: 3;
}

.neh-theme--flatbed .neh-layout--panel .neh-section__copy {
  max-width: 620px;
  margin-left: auto;
  padding: clamp(26px, 3vw, 44px);
  border-radius: 18px;
  background: rgba(var(--rgb-brand-dark), .46);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.neh-service-page h1,
.neh-service-page h2,
.neh-service-page h3 {
  text-wrap: balance;
}

.neh-service-page .neh-hero-title,
.neh-service-page .neh-layout--panel .neh-section__copy h2,
.neh-service-page .neh-section__copy h2,
.neh-service-page .neh-section__head h2 {
  letter-spacing: -.045em;
}

.neh-service-page .neh-section__copy h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.02;
}

.neh-service-page .neh-section__head h2 {
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.04;
}

.neh-service-page .neh-layout--panel .neh-section__copy h2 {
  font-size: clamp(34px, 4.2vw, 66px);
  line-height: .98;
}

.neh-service-page .neh-card--media h3 {
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.neh-service-page .neh-fact-list h3 {
  font-size: clamp(18px, 1.3vw, 22px);
  line-height: 1.15;
}

.neh-service-page {
  --neh-dark: var(--color-brand-dark);
  --neh-dark-2: var(--color-brand-dark-2);
  --neh-orange: var(--color-brand-accent);
  --neh-orange-readable: #9a5600;
  --neh-hero-accent: var(--color-brand-accent-2);
  --neh-green: #146c2e;
  --neh-text: var(--color-text-soft-light);
  --neh-container: 1320px;
  --neh-page-x: clamp(28px, 6vw, 168px);
  --neh-section-y: clamp(72px, 7vw, 118px);
  --neh-cover-y: clamp(70px, 7vw, 120px);
  --neh-text-panel-max: 560px;
  --neh-service-light: #f5f4f1;
}

.neh-service-page,
.neh-service-page * {
  box-sizing: border-box;
}

.neh-service-page :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

.neh-service-page .neh-kicker {
  margin: 0 0 14px 0;
  color: var(--neh-orange-readable);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.neh-service-page .neh-cta-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.neh-service-page .neh-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 145px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease;
}

.neh-service-page .neh-cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.neh-service-page .neh-cta-button--call {
  background: var(--neh-orange);
  color: #111111;
}

.neh-service-page .neh-cta-button--wa {
  background: var(--neh-green);
  color: #ffffff;
}

.neh-layout--note {
  color: #ffffff;
  background: var(--neh-dark);
  border-top: 1px solid rgba(var(--rgb-brand-accent), .55);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.neh-note {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(18px, 2.6vw, 30px) 0;
}

.neh-note__label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #101820;
  background: var(--neh-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.neh-layout--note p {
  margin: 0;
  max-width: 920px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
  font-weight: 800;
}

.neh-layout--note strong {
  color: #ffffff;
  font-weight: 900;
}

/* =========================================================
   5. Head-grid-layout
========================================================= */

.neh-service-page .neh-layout--head-grid {
  min-height: auto;
  padding-block: clamp(78px, 8vw, 132px);
}

.neh-service-page .neh-layout--head-grid > .neh-section__inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container-wide));
  max-width: var(--neh-container-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(34px, 4.2vw, 66px);
}

.neh-service-page .neh-layout--head-grid .neh-section__head {
  width: min(100%, 920px);
  max-width: 920px;
}

.neh-service-page .neh-layout--head-grid .neh-section__head h2 {
  max-width: 920px;
  margin: 0;
  color: inherit;
  font-size: clamp(34px, 4.4vw, 70px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.neh-service-page .neh-layout--head-grid .neh-section__head p:not(.neh-kicker) {
  max-width: 760px;
}

.neh-service-page .neh-layout--head-grid .neh-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 2.5vw, 38px);
}

.neh-service-page .neh-layout--head-grid .neh-card--line {
  min-width: 0;
  padding-top: 24px;
  border-top: 3px solid var(--neh-orange, var(--color-brand-accent));
}

.neh-service-page .neh-layout--head-grid .neh-card__number {
  display: inline-block;
  margin-bottom: 14px;
  color: #9a5600;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
}

.neh-service-page .neh-layout--head-grid .neh-card--line h3 {
  margin: 0 0 14px 0;
  color: inherit;
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.neh-service-page .neh-layout--head-grid .neh-card--line p {
  margin: 0;
  color: var(--color-text-body);
  font-size: clamp(15.5px, 1.08vw, 17px);
  line-height: 1.66;
}

@media (max-width: 1180px) {
  .neh-service-page .neh-layout--head-grid .neh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .neh-service-page .neh-layout--head-grid {
    padding-block: clamp(54px, 8vh, 78px);
  }

  .neh-service-page .neh-layout--head-grid > .neh-section__inner {
    width: min(calc(100% - 36px), var(--neh-container));
    gap: 32px;
  }

  .neh-service-page .neh-layout--head-grid .neh-section__head {
    width: 100%;
    max-width: none;
  }

  .neh-service-page .neh-layout--head-grid .neh-section__head h2 {
    font-size: clamp(27px, 8vw, 44px);
    line-height: 1.02;
  }

  .neh-service-page .neh-layout--head-grid .neh-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .neh-service-page .neh-layout--head-grid .neh-card--line h3 {
    font-size: clamp(24px, 7vw, 34px);
  }
}

/* =========================================================
   2. Palvelusivujen hero-kuvat
========================================================= */

.neh-service-page .neh-hero {
  position: relative;
  min-height: var(--neh-hero-height, 100svh);
  overflow: hidden;
}

.neh-service-page .neh-hero > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.neh-service-page .neh-hero .neh-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: var(--neh-hero-image-position, center center);
}

.neh-service-page .neh-hero .neh-hero__overlay {
  position: absolute;
  inset: 0;
}

.neh-service-page .neh-hero .neh-hero__inner {
  position: relative;
  min-height: var(--neh-hero-height, 100svh);
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-hero-height: 100svh;
  }

  .neh-service-page .neh-hero,
  .neh-service-page .neh-hero .neh-hero__inner {
    min-height: 100svh;
  }

  .neh-service-page .neh-hero .neh-hero__image {
    height: 100%;
    min-height: 100svh;
  }

  .neh-service-page .neh-hero--bulk {
    --neh-hero-image-position: center center;
  }

  .neh-service-page .neh-hero--skip {
    --neh-hero-image-position: center center;
  }

  .neh-service-page .neh-hero--energy {
    --neh-hero-image-position: center center;
  }

  .neh-service-page .neh-hero--earth {
    --neh-hero-image-position: center center;
  }
}

/* =========================================================
   3. Palvelusivujen otsikkokoot
========================================================= */

.neh-service-page {
  --neh-service-h1-desktop: clamp(48px, 4.8vw, 78px);
  --neh-service-h2-desktop: clamp(32px, 4vw, 58px);
  --neh-service-h3-desktop: clamp(22px, 2vw, 34px);

  --neh-service-h1-mobile: clamp(26px, 7.5vw, 52px);
  --neh-service-h2-mobile: clamp(26px, 7vw, 44px);
  --neh-service-h3-mobile: clamp(23px, 6.8vw, 34px);

  --neh-heading-section: var(--neh-service-h2-desktop);
  --neh-heading-large: var(--neh-service-h2-desktop);
}

.neh-service-page .neh-hero__content h1 {
  font-size: var(--neh-service-h1-desktop);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.neh-service-page .neh-section__copy h2,
.neh-service-page .neh-section__head h2,
.neh-service-page .neh-layout--panel .neh-section__copy h2,
.neh-service-page .neh-layout--full-split > .neh-section__copy h2,
.neh-service-page .neh-layout--head-grid .neh-section__head h2 {
  font-size: var(--neh-service-h2-desktop);
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.neh-service-page .neh-section h3,
.neh-service-page .neh-card h3,
.neh-service-page .neh-card--line h3,
.neh-service-page .neh-card--media h3,
.neh-service-page .neh-grid--media .neh-card--media h3,
.neh-service-page .neh-fact-list h3 {
  font-size: var(--neh-service-h3-desktop);
  line-height: 1.05;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-heading-section: var(--neh-service-h2-mobile);
    --neh-heading-large: var(--neh-service-h2-mobile);
  }

  .neh-service-page .neh-hero__content h1 {
    font-size: var(--neh-service-h1-mobile);
    line-height: 1;
    letter-spacing: -.055em;
  }

  .neh-service-page .neh-section__copy h2,
  .neh-service-page .neh-section__head h2,
  .neh-service-page .neh-layout--panel .neh-section__copy h2,
  .neh-service-page .neh-layout--full-split > .neh-section__copy h2,
  .neh-service-page .neh-layout--head-grid .neh-section__head h2 {
    font-size: var(--neh-service-h2-mobile);
    line-height: 1.03;
    letter-spacing: -.052em;
  }

  .neh-service-page .neh-section h3,
  .neh-service-page .neh-card h3,
  .neh-service-page .neh-card--line h3,
  .neh-service-page .neh-card--media h3,
  .neh-service-page .neh-grid--media .neh-card--media h3,
  .neh-service-page .neh-fact-list h3 {
    font-size: var(--neh-service-h3-mobile);
    line-height: 1.05;
    letter-spacing: -.045em;
  }
}

/* =========================================================
   4. Palvelusivujen responsiiviset leveydet
========================================================= */

.neh-service-page,
.neh-service-page *,
.neh-service-page *::before,
.neh-service-page *::after {
  box-sizing: border-box;
}

.neh-service-page {
  --neh-service-container-width: min(100%, var(--neh-container, 1180px));
  --neh-service-container-wide-width: min(100%, var(--neh-container-wide, 1460px));
  --neh-service-copy-width: 720px;
  --neh-service-text-width: 680px;
  --neh-service-head-width: 920px;
  --neh-service-panel-width: 700px;
  --neh-service-panel-text-width: 560px;
  overflow-x: clip;
}

.neh-service-page .neh-container,
.neh-service-page .neh-section__inner {
  width: var(--neh-service-container-width);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
}

.neh-service-page .neh-container--wide,
.neh-service-page .neh-layout--head-grid > .neh-section__inner {
  width: var(--neh-service-container-wide-width);
  max-width: 100%;
}

.neh-service-page .neh-section__copy,
.neh-service-page .neh-section__head {
  width: min(100%, var(--neh-service-copy-width));
  max-width: 100%;
  min-width: 0;
}

.neh-service-page .neh-section__head {
  width: min(100%, var(--neh-service-head-width));
}

.neh-service-page .neh-section__copy p:not(.neh-kicker),
.neh-service-page .neh-section__head p:not(.neh-kicker) {
  width: min(100%, var(--neh-service-text-width));
  max-width: 100%;
}

.neh-service-page .neh-section__media,
.neh-service-page .neh-grid,
.neh-service-page .neh-card,
.neh-service-page .neh-detail-list,
.neh-service-page .neh-fact-list,
.neh-service-page .neh-media-mosaic {
  max-width: 100%;
  min-width: 0;
}

.neh-service-page .neh-section__media img,
.neh-service-page .neh-card img,
.neh-service-page .neh-media-mosaic img {
  max-width: 100%;
}

.neh-service-page .neh-layout--panel .neh-section__copy {
  width: min(100%, var(--neh-service-panel-width));
  max-width: 100%;
}

.neh-service-page .neh-layout--panel .neh-section__copy p:not(.neh-kicker) {
  width: min(100%, var(--neh-service-panel-text-width));
  max-width: 100%;
}

.neh-service-page .neh-layout--full-split > .neh-section__copy {
  width: 100%;
  max-width: none;
}

.neh-service-page .neh-layout--full-split > .neh-section__copy p:not(.neh-kicker) {
  width: min(100%, var(--neh-service-text-width));
  max-width: 100%;
}

.neh-service-page .neh-mobile--narrow > .neh-section__inner {
  width: min(100%, 430px);
  max-width: 100%;
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-page-x: clamp(16px, 5vw, 22px);
    --neh-service-copy-width: 100%;
    --neh-service-text-width: 100%;
    --neh-service-head-width: 100%;
    --neh-service-panel-width: 100%;
    --neh-service-panel-text-width: 100%;
  }

  .neh-service-page .neh-section:not(.neh-hero) {
    padding-inline: var(--neh-page-x);
  }

  .neh-service-page .neh-container,
  .neh-service-page .neh-container--wide,
  .neh-service-page .neh-section__inner,
  .neh-service-page .neh-layout--head-grid > .neh-section__inner,
  .neh-service-page .neh-layout--panel > .neh-section__inner,
  .neh-service-page .neh-mobile--narrow > .neh-section__inner {
    width: 100%;
    max-width: 100%;
  }

  .neh-service-page .neh-section__copy,
  .neh-service-page .neh-section__head,
  .neh-service-page .neh-layout--panel .neh-section__copy,
  .neh-service-page .neh-layout--full-split > .neh-section__copy {
    width: 100%;
    max-width: 100%;
  }

  .neh-service-page .neh-section__copy p:not(.neh-kicker),
  .neh-service-page .neh-section__head p:not(.neh-kicker),
  .neh-service-page .neh-layout--panel .neh-section__copy p:not(.neh-kicker),
  .neh-service-page .neh-layout--full-split > .neh-section__copy p:not(.neh-kicker) {
    width: 100%;
    max-width: 100%;
  }

  .neh-service-page .neh-layout--full-split > .neh-section__copy {
    padding-inline: 0;
  }
}


/* =========================================================
   Lähde: galleria.css
========================================================= */

.neh-service-page--gallery {
  --neh-container: 1560px;
  --neh-page-x: clamp(24px, 5vw, 120px);
  --neh-text-panel-max: 720px;
}

.neh-service-page--gallery .neh-contact-block {
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--rgb-brand-accent), .10) 0%, rgba(var(--rgb-brand-accent), 0) 34%),
    linear-gradient(180deg, var(--color-brand-blue) 0%, var(--color-brand-dark) 100%);
}

.neh-gallery-hero .neh-cover-bg {
  object-position: center center;
}

.neh-gallery-hero .neh-hero-content {
  max-width: 760px;
}

.neh-gallery-hero .neh-hero-title {
  max-width: 860px;
}

.neh-surprise-block {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 16%, rgba(var(--rgb-brand-accent), .22), transparent 30%),
    linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  padding-block: clamp(70px, 7vw, 118px);
}

.neh-surprise-block::after {
  content: "";
  position: absolute;
  right: -110px;
  top: -110px;
  width: 320px;
  height: 320px;
  border: 42px solid rgba(var(--rgb-brand-accent), .10);
  border-radius: 999px;
  pointer-events: none;
}

.neh-surprise-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.05fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
}

.neh-surprise-copy h2 {
  max-width: 760px;
  margin: 0 0 24px 0;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 82px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -.055em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .36);
}

.neh-surprise-copy p:not(.neh-kicker) {
  max-width: 650px;
  margin: 0 0 28px 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.65;
}

.neh-surprise-video-wrap {
  min-width: 0;
}

.neh-surprise-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #02070d;
  object-fit: cover;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .34);
}

.neh-surprise-video-wrap p {
  margin: 16px 0 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14.5px;
  line-height: 1.5;
}

.neh-gallery-intro {
  color: #101820;
  background: #f5f4f1;
  padding-block: clamp(72px, 8vw, 128px);
}

.neh-gallery-intro-inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), 980px);
  margin-inline: auto;
  text-align: center;
}

.neh-gallery-intro-inner h2 {
  max-width: 900px;
  margin: 0 auto 22px auto;
  color: #101820;
  font-size: clamp(40px, 5vw, 78px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.055em;
}

.neh-gallery-intro-inner p:not(.neh-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-text-body);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.68;
}

.neh-big-gallery {
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 10%, rgba(var(--rgb-brand-accent), .12), transparent 28%),
    linear-gradient(180deg, var(--color-brand-dark) 0%, var(--color-brand-blue) 100%);
  padding-block: clamp(56px, 6vw, 96px);
}

.neh-big-gallery-grid {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(14px, 1.8vw, 24px);
}

.neh-gallery-item {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-brand-dark-2);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .28);
}

.neh-gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 560px;
}

.neh-gallery-item--wide {
  grid-column: span 2;
}

.neh-gallery-item--tall {
  grid-row: span 2;
  min-height: 560px;
}

.neh-gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.neh-gallery-item:hover img {
  transform: scale(1.045);
  filter: brightness(1.04);
}

.neh-gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px;
  color: #ffffff;
  font-size: clamp(20px, 1.8vw, 30px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.035em;
  text-shadow: 0 5px 22px rgba(0, 0, 0, .62);
  background: linear-gradient(180deg, rgba(5, 10, 18, 0) 0%, rgba(5, 10, 18, .82) 100%);
}

.neh-gallery-note {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(var(--rgb-brand-dark), .96) 0%, rgba(var(--rgb-brand-dark), .78) 48%, rgba(var(--rgb-brand-blue), .72) 100%),
    url("../kuvat/yjj.webp") center center / cover no-repeat;
  background-attachment: fixed;
  padding-block: clamp(82px, 9vw, 150px);
}

.neh-gallery-note-inner {
  width: min(calc(100% - (var(--neh-page-x) * 2)), var(--neh-container));
  max-width: var(--neh-container);
  margin-inline: auto;
}

.neh-gallery-note-inner h2 {
  max-width: 820px;
  margin: 0 0 24px 0;
  color: #ffffff;
  font-size: clamp(42px, 5.4vw, 88px);
  line-height: .94;
  font-weight: 900;
  letter-spacing: -.055em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .42);
}

.neh-gallery-note-inner p:not(.neh-kicker) {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .neh-big-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 919px) {
  .neh-surprise-inner {
    grid-template-columns: 1fr;
  }

  .neh-big-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .neh-service-page--gallery {
    --neh-container: 1320px;
    --neh-page-x: 18px;
    --neh-text-panel-max: 430px;
  }

  .neh-gallery-hero .neh-cover-bg {
    object-position: 56% center;
  }

  .neh-surprise-block,
  .neh-gallery-intro,
  .neh-big-gallery,
  .neh-gallery-note {
    padding-block: 54px;
  }

  .neh-surprise-inner,
  .neh-gallery-intro-inner,
  .neh-big-gallery-grid,
  .neh-gallery-note-inner {
    width: min(calc(100% - 36px), var(--neh-container));
  }

  .neh-gallery-intro-inner {
    text-align: left;
  }

  .neh-gallery-intro-inner h2,
  .neh-gallery-intro-inner p:not(.neh-kicker) {
    margin-inline: 0;
  }

  .neh-surprise-copy h2,
  .neh-gallery-intro-inner h2,
  .neh-gallery-note-inner h2 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .neh-surprise-video {
    border-radius: 14px;
  }

  .neh-big-gallery-grid {
    grid-template-columns: 1fr;
  }

  .neh-gallery-item,
  .neh-gallery-item--large,
  .neh-gallery-item--wide,
  .neh-gallery-item--tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
    border-radius: 14px;
  }

  .neh-gallery-item img {
    min-height: 260px;
  }

  .neh-gallery-item figcaption {
    padding: 22px;
  }

  .neh-gallery-note {
    background-attachment: scroll;
  }
}

.neh-surprise-image-wrap {
  overflow: hidden;
}

.neh-surprise-image {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
}

/* =========================================================
   GALLERIAN LIGHTBOX
   Klikattu kuva avautuu isona koko ruudun päälle.
========================================================= */

.neh-gallery-item > .neh-lightbox-link,
.neh-gallery-item > .neh-lightbox-open {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.neh-gallery-item > .neh-lightbox-link:focus-visible,
.neh-gallery-item > .neh-lightbox-open:focus-visible {
  outline: 3px solid var(--neh-orange);
  outline-offset: -6px;
}

.neh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2, 8, 14, .92);
}

.neh-lightbox.is-open {
  display: flex;
}

.neh-lightbox-image {
  display: block;
  width: auto;
  max-width: min(1200px, 96vw);
  max-height: 90svh;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

.neh-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 10000;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
}

.neh-lightbox-close:hover,
.neh-lightbox-close:focus-visible {
  background: var(--color-brand-accent);
  color: #101820;
  outline: 0;
}

@media (max-width: 759px) {
  .neh-lightbox {
    padding: 12px;
  }

  .neh-lightbox-image {
    max-width: 96vw;
    max-height: 84svh;
    border-radius: 10px;
  }

  .neh-lightbox-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    font-size: 32px;
  }
}


/* =========================================================
   LIGHTBOX: SWIPE JA NUOLINAVIGOINTI
   Kuvia voi vaihtaa sormella, nuolilla tai näppäimistöllä.
========================================================= */

.neh-lightbox {
  touch-action: pan-y;
}

.neh-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, .14);
  font-size: 58px;
  line-height: 1;
  font-weight: 700;
  transform: translateY(-50%);
}

.neh-lightbox-prev {
  left: 18px;
}

.neh-lightbox-next {
  right: 18px;
}

.neh-lightbox-nav:hover,
.neh-lightbox-nav:focus-visible {
  background: var(--color-brand-accent);
  color: #101820;
  outline: 0;
}

@media (max-width: 759px) {
  .neh-lightbox-nav {
    width: 46px;
    height: 58px;
    font-size: 46px;
    background: rgba(255, 255, 255, .18);
  }

  .neh-lightbox-prev {
    left: 8px;
  }

  .neh-lightbox-next {
    right: 8px;
  }
}


.neh-lightbox-nav[hidden] {
  display: none !important;
}

.neh-hidden-lightbox-gallery {
  display: none;
}


/* =========================================================
   Theme API binding
   Näiden avulla theme.css ohjaa koko sivustoa keskitetysti.
========================================================= */

body {
  font-family: var(--font-base);
  color: var(--color-text-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

.neh-service-page {
  --neh-service-h1-desktop: var(--font-h1-desktop);
  --neh-service-h2-desktop: var(--font-h2-desktop);
  --neh-service-h3-desktop: var(--font-h3-desktop);
  --neh-service-h1-mobile: var(--font-h1-mobile);
  --neh-service-h2-mobile: var(--font-h2-mobile);
  --neh-service-h3-mobile: var(--font-h3-mobile);

  --neh-service-copy-width: var(--copy-width);
  --neh-service-text-width: var(--text-width);
  --neh-service-head-width: var(--head-width);
  --neh-service-panel-width: var(--panel-width);
  --neh-service-panel-text-width: var(--panel-text-width);
}

@media (max-width: 759px) {
  .neh-service-page {
    --neh-service-copy-width: 100%;
    --neh-service-text-width: 100%;
    --neh-service-head-width: 100%;
    --neh-service-panel-width: 100%;
    --neh-service-panel-text-width: 100%;
  }
}

/* =========================================================
   HEADING SANITY FIX
   H1/H2/H3 koot ja rivitys kuntoon koko sivustolla.

   Tämä on tarkoituksella site.css:n lopussa, jotta se voittaa
   vanhat yksittäiset clampit ilman !important-sääntöjä.
========================================================= */

.neh-service-page .neh-hero__content h1,
.neh-service-page h1 {
  font-size: var(--font-h1-desktop);
  line-height: .98;
  letter-spacing: -.052em;
  max-width: min(100%, 920px);
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.neh-service-page .neh-section__copy h2,
.neh-service-page .neh-section__head h2,
.neh-service-page .neh-layout--panel .neh-section__copy h2,
.neh-service-page .neh-layout--full-split > .neh-section__copy h2,
.neh-service-page .neh-layout--head-grid .neh-section__head h2,
.neh-service-page h2 {
  font-size: var(--font-h2-desktop);
  line-height: 1.02;
  letter-spacing: -.05em;
  max-width: min(100%, var(--head-width));
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.neh-service-page .neh-section h3,
.neh-service-page .neh-card h3,
.neh-service-page .neh-card--line h3,
.neh-service-page .neh-card--media h3,
.neh-service-page .neh-grid--media .neh-card--media h3,
.neh-service-page .neh-fact-list h3,
.neh-service-page h3 {
  font-size: var(--font-h3-desktop);
  line-height: 1.08;
  letter-spacing: -.04em;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 759px) {
  .neh-service-page .neh-hero__content {
    width: min(100%, 330px);
    max-width: 330px;
  }

  .neh-service-page .neh-hero__content h1,
  .neh-service-page h1 {
    font-size: var(--font-h1-mobile);
    line-height: 1.02;
    letter-spacing: -.047em;
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .neh-service-page .neh-section__copy h2,
  .neh-service-page .neh-section__head h2,
  .neh-service-page .neh-layout--panel .neh-section__copy h2,
  .neh-service-page .neh-layout--full-split > .neh-section__copy h2,
  .neh-service-page .neh-layout--head-grid .neh-section__head h2,
  .neh-service-page h2 {
    font-size: var(--font-h2-mobile);
    line-height: 1.04;
    letter-spacing: -.045em;
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .neh-service-page .neh-section h3,
  .neh-service-page .neh-card h3,
  .neh-service-page .neh-card--line h3,
  .neh-service-page .neh-card--media h3,
  .neh-service-page .neh-grid--media .neh-card--media h3,
  .neh-service-page .neh-fact-list h3,
  .neh-service-page h3 {
    font-size: var(--font-h3-mobile);
    line-height: 1.08;
    letter-spacing: -.038em;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }
}

@media (max-width: 390px) {
  .neh-service-page .neh-hero__content {
    width: min(100%, 310px);
    max-width: 310px;
  }

  .neh-service-page .neh-hero__content h1 {
    font-size: clamp(26px, 7.4vw, 34px);
    letter-spacing: -.043em;
  }
}

/* =========================================================
   MOBILE H1 FIT FIX
   Palvelusivujen mobiili-H1 niin, ettei pitkä otsikko karkaa.

   Korjaa esim:
   - MAANRAKENNUSAJOT
   - TRAKTORI-, PYÖRÄKUORMAAJA- JA KAIVINKONETYÖT
========================================================= */

@media (max-width: 759px) {
  .neh-service-page .neh-hero__content {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .neh-service-page .neh-hero__content h1,
  .neh-service-page h1 {
    font-size: var(--font-h1-mobile);
    line-height: 1.04;
    letter-spacing: -.036em;
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }
}

@media (max-width: 390px) {
  .neh-service-page .neh-hero__content {
    width: min(100%, 330px);
    max-width: 330px;
  }

  .neh-service-page .neh-hero__content h1 {
    font-size: clamp(24px, 6.4vw, 30px);
    line-height: 1.05;
    letter-spacing: -.034em;
  }
}

@media (max-width: 360px) {
  .neh-service-page .neh-hero__content {
    width: min(100%, 310px);
    max-width: 310px;
  }

  .neh-service-page .neh-hero__content h1 {
    font-size: clamp(23px, 6.2vw, 28px);
  }
}

/* =========================================================
   MOBILE NARROW DESKTOP FIX
   .neh-mobile--narrow saa kaventaa vain mobiilissa.

   Desktopissa / tabletissa sectionin sisällön pitää käyttää
   normaalia container-leveyttä, ei 430px kapeaa palstaa.
========================================================= */

.neh-service-page .neh-mobile--narrow > .neh-section__inner {
  width: min(100%, var(--container));
  max-width: 100%;
  margin-inline: auto;
}

@media (max-width: 759px) {
  .neh-service-page .neh-mobile--narrow > .neh-section__inner {
    width: min(100%, 430px);
    max-width: 100%;
  }
}

/* =========================================================
   SPLIT LAYOUT WIDTH FIX
   Ei omia fonttikokoja. Split-osion otsikko käyttää samaa H2-kokoa
   kuin muu sivusto.

   Rivitysongelma korjataan antamalla tekstipalstalle järkevämpi leveys.
========================================================= */

@media (min-width: 920px) {
  .neh-service-page .neh-layout--split > .neh-section__inner,
  .neh-service-page .neh-layout--mosaic > .neh-section__inner {
    grid-template-columns: minmax(420px, 1fr) minmax(460px, 1fr);
  }

  .neh-service-page .neh-layout--split .neh-section__copy {
    width: min(100%, var(--copy-width));
    max-width: 100%;
  }

  .neh-service-page .neh-layout--split .neh-section__copy h2 {
    font-size: var(--font-h2-desktop);
    max-width: 100%;
  }
}

@media (min-width: 760px) and (max-width: 919px) {
  .neh-service-page .neh-layout--split > .neh-section__inner,
  .neh-service-page .neh-layout--mosaic > .neh-section__inner {
    grid-template-columns: 1fr;
  }

  .neh-service-page .neh-layout--split .neh-section__copy h2 {
    font-size: var(--font-h2-desktop);
    max-width: 100%;
  }
}

/* =========================================================
   HOME HERO PICTURE FIX
   Etusivun hero käyttää picture-elementtiä:
   - desktop: /kuvat/yjj.webp
   - mobiili: /kuvat/yjjmobile.webp

   Älä piilota hero-kuvaa desktopissa, jos picture hoitaa kuvanvaihdon.
========================================================= */

.neh-hero--home > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.neh-hero--home > picture .neh-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--neh-hero-image-position);
}

@media (min-width: 760px) {
  .neh-hero--home > .neh-hero__image {
    display: block;
  }

  .neh-hero--home > picture {
    display: block;
  }
}

/* =========================================================
   HOME HERO DESKTOP/MOBILE IMAGE FIX
   Etusivun hero käyttää eri kuvaa desktopille ja mobiilille:
   desktop: kuvat/yjj2.webp
   mobiili: kuvat/yjj-mobile.webp
========================================================= */

.neh-hero--home > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.neh-hero--home > picture .neh-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: var(--neh-hero-image-position);
}

/* =========================================================
   SEO LOCAL CONTENT SECTIONS
   Paikallisen hakunäkyvyyden tekstiosiot.
========================================================= */

.neh-seo-local-section {
  padding: var(--section-space-lg) var(--page-padding-desktop);
  background: var(--color-bg-light);
  color: var(--color-text-body);
}

.neh-seo-local-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.neh-seo-local-copy {
  width: min(100%, 980px);
  margin-inline: auto;
}

.neh-seo-local-copy h2 {
  margin: 0 0 24px 0;
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-size: var(--font-h2-desktop);
  line-height: var(--line-heading);
  letter-spacing: var(--letter-heading);
  text-wrap: balance;
}

.neh-seo-local-copy p:not(.neh-kicker) {
  margin: 0 0 18px 0;
  max-width: 820px;
  color: var(--color-text-body);
  font-size: var(--font-body-desktop);
  line-height: var(--line-body);
}

.neh-seo-local-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(28px, 3vw, 44px);
}

.neh-seo-local-grid article {
  padding-top: 22px;
  border-top: 3px solid var(--color-brand-accent);
}

.neh-seo-local-grid h3 {
  margin: 0 0 10px 0;
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-size: var(--font-h3-desktop);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.neh-seo-local-grid p {
  margin: 0;
  color: var(--color-text-body);
  font-size: 15.5px;
  line-height: 1.58;
}

@media (max-width: 919px) {
  .neh-seo-local-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .neh-seo-local-section {
    padding: var(--section-space-md) var(--page-padding-mobile);
  }

  .neh-seo-local-copy h2 {
    font-size: var(--font-h2-mobile);
  }

  .neh-seo-local-copy p:not(.neh-kicker) {
    max-width: 100%;
    font-size: var(--font-body-mobile);
  }

  .neh-seo-local-grid h3 {
    font-size: var(--font-h3-mobile);
  }
}
