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

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

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: #071019;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-width: 320px;
}

a {
  color: inherit;
}

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

.neh-block-page {
  --neh-dark: #071019;
  --neh-dark-2: #0b1520;
  --neh-orange: #f28c00;
  --neh-green: #28b842;
  --neh-text: #dce3ea;
  --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: hidden;
  background: var(--neh-dark);
  color: #fff;
}

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

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

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

.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-hero-content,
.neh-about-content {
  position: relative;
  z-index: 4;
  width: min(100%, var(--neh-text-panel-max));
  max-width: var(--neh-text-panel-max);
}

.neh-hero-logo {
  margin: 0;
  padding: 0;
}

.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;
}

.neh-hero-title {
  max-width: 100%;
  margin: 0 0 16px 0;
  color: #fff;
  font-size: clamp(30px, 3.35vw, 58px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .42);
}

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

.neh-hero-title strong {
  text-shadow: 0 0 28px rgba(242, 140, 0, .22);
}

.neh-hero-text {
  max-width: 430px;
  margin: 0 0 28px 0;
  color: #f0f3f6;
  font-size: 16px;
  line-height: 1.58;
}

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

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

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

/* -------------------------
   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(242, 140, 0, .24);
}

.neh-cta-button--call:hover {
  box-shadow:
    0 14px 30px rgba(242, 140, 0, .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, #023169 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(242, 140, 0, .18) 0%,
    rgba(242, 140, 0, .07) 38%,
    rgba(242, 140, 0, 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(242, 140, 0, 0) 0%,
    rgba(242, 140, 0, 1) 50%,
    rgba(242, 140, 0, 0) 100%
  );
}

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

.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(242, 140, 0, .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(242, 140, 0, .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(7, 16, 25, .78), rgba(7, 16, 25, .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(7, 16, 25, .78), rgba(7, 16, 25, .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(242, 140, 0, .10) 0%, rgba(242, 140, 0, 0) 34%),
    linear-gradient(180deg, #071019 0%, #023169 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(242, 140, 0, 0) 0%,
    rgba(242, 140, 0, 1) 50%,
    rgba(242, 140, 0, 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(242, 140, 0, .10) 0%, rgba(242, 140, 0, 0) 34%),
    linear-gradient(180deg, #023169 0%, #071019 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(242, 140, 0, 0) 0%,
    rgba(242, 140, 0, 1) 50%,
    rgba(242, 140, 0, 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-company {
  color: #ffffff !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  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-company,
  .neh-contact-details a {
    font-size: 20px !important;
  }

  .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: #071019;
  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-hero-cover {
    min-height: 100svh;
    align-items: center;
    background-image: none;
    background-attachment: scroll;
  }

  .neh-hero-cover > .neh-cover-bg {
    display: block;
    object-position: 67% center;
  }

  .neh-hero-cover .neh-cover-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 10, 18, .18) 0%,
      rgba(5, 10, 18, .28) 38%,
      rgba(5, 10, 18, .80) 100%
    );
  }

  .neh-hero-logo--desktop {
    display: none;
  }

  .neh-hero-logo--mobile {
    position: absolute;
    top: 22px;
    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;
  }

  .neh-hero-cover .neh-cover-inner {
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 18px 52px 18px;
  }

  .neh-hero-content {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
  }

  .neh-hero-title {
    max-width: 390px;
    margin: 0 auto;
    font-size: clamp(30px, 6vw, 62px);
    line-height: .96;
    text-align: center;
    text-shadow: 0 6px 28px rgba(0, 0, 0, .78);
  }

  .neh-hero-title strong {
    display: block;
  }

  .neh-hero-text,
  .neh-hero-content .neh-cta-buttons {
    display: none;
  }

  .neh-mobile-hero-after {
    display: block;
    background: #071019;
    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;
  }
}

/* -------------------------
   Motion
------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .neh-hero-cover > .neh-cover-bg {
    animation: nehHeroDrift 18s ease-in-out infinite alternate;
    transform-origin: center center;
  }

  .neh-hero-content {
    animation: nehFadeUp .9s ease-out both;
  }
}

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

  .neh-hero-cover > .neh-cover-bg,
  .neh-hero-content {
    animation: none;
  }
}

@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: #f28c00;
}

/* 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;
  }
}
