.elementor-kit-9{--e-global-color-primary:#1F3A5F;--e-global-color-secondary:#F5F7F9;--e-global-color-text:#1F2937;--e-global-color-accent:#4FD1C5;--e-global-color-d598b2f:#FFFFFF;--e-global-color-573b23d:#E5E7EB;--e-global-color-fa40828:#6B7280;--e-global-typography-primary-font-family:"DM Sans";--e-global-typography-primary-font-weight:700;--e-global-typography-primary-font-style:normal;--e-global-typography-secondary-font-family:"DM Sans";--e-global-typography-secondary-font-weight:600;--e-global-typography-secondary-font-style:normal;--e-global-typography-text-font-family:"Inter";--e-global-typography-text-font-weight:400;--e-global-typography-text-font-style:normal;--e-global-typography-accent-font-family:"Inter";--e-global-typography-accent-font-weight:500;--e-global-typography-accent-font-style:normal;font-family:"Montserrat", Sans-serif;font-weight:600;}.elementor-kit-9 button,.elementor-kit-9 input[type="button"],.elementor-kit-9 input[type="submit"],.elementor-kit-9 .elementor-button{background-color:var( --e-global-color-primary );font-family:"DM Sans", Sans-serif;font-weight:700;font-style:normal;text-shadow:0px 0px 10px rgba(0,0,0,0.3);}.elementor-kit-9 e-page-transition{background-color:#FFBC7D;}.elementor-kit-9 h1{color:var( --e-global-color-primary );font-family:"Montserrat", Sans-serif;font-weight:600;}.elementor-kit-9 h2{color:var( --e-global-color-primary );font-family:"Montserrat", Sans-serif;font-weight:600;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1160px;}.e-con{--container-max-width:1160px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* ========== JMH Core Design System (single source of truth) ========== */
:root{
  --jmh-primary:#1F3A5F;   /* brand blue */
  --jmh-accent:#2A9D8F;    /* accent for hovers/icons */
  --jmh-bg:#FFFFFF;
  --jmh-surface:#F5F7F9;
  --jmh-text:#1F2937;
  --jmh-muted:#6B7280;
  --jmh-border:#E5E7EB;

  --jmh-radius:14px;
  --jmh-radius-btn:12px;

  --jmh-container:1160px;
  --jmh-section-py:80px;
  --jmh-section-py-m:56px;

  --jmh-shadow: 0 10px 30px rgba(17,24,39,.08);
  --jmh-shadow-soft: 0 8px 20px rgba(17,24,39,.06);
}

/* Base */
body{
  color: var(--jmh-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links: underline only for normal text links (NOT buttons) */
a{ color: var(--jmh-primary); text-decoration: none; }
a:hover{ color: var(--jmh-accent); text-decoration: underline; text-underline-offset: 3px; }
.elementor-button, .elementor-button:hover,
.jmh-btn, .jmh-btn:hover{
  text-decoration: none !important;
}

/* Headings polish */
.elementor-widget-heading .elementor-heading-title{
  letter-spacing: -0.015em;
}

/* Container width (Elementor classic + containers) */
.elementor-section.elementor-section-boxed > .elementor-container{
  max-width: var(--jmh-container);
}

/* Section helpers */
.jmh-section{
  padding-top: var(--jmh-section-py);
  padding-bottom: var(--jmh-section-py);
}
@media (max-width: 767px){
  .jmh-section{
    padding-top: var(--jmh-section-py-m);
    padding-bottom: var(--jmh-section-py-m);
  }
}
.jmh-surface{ background: var(--jmh-surface); }

/* Typography utility classes */
.jmh-h1{ font-size: clamp(32px, 3.2vw, 52px); line-height: 1.05; }
.jmh-h2{ font-size: clamp(26px, 2.2vw, 36px); line-height: 1.15; }
.jmh-h3{ font-size: clamp(20px, 1.6vw, 26px); line-height: 1.2; }
.jmh-lead{ font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--jmh-muted); }

/* Cards */
.jmh-card{
  background: var(--jmh-bg);
  border: 1px solid var(--jmh-border);
  border-radius: var(--jmh-radius);
  padding: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.jmh-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--jmh-shadow-soft);
  border-color: rgba(42,157,143,.35);
}

/* Icon list tidy */
.jmh-list .elementor-icon-list-item{ padding: 6px 0; }
.jmh-list .elementor-icon-list-icon{ margin-top: 2px; }
.jmh-list .elementor-icon-list-text{ color: var(--jmh-text); }

/* Forms */
.elementor-form input[type="text"],
.elementor-form input[type="email"],
.elementor-form input[type="tel"],
.elementor-form textarea,
.elementor-form select{
  border: 1px solid var(--jmh-border) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  background: #fff !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.elementor-form input:focus,
.elementor-form textarea:focus,
.elementor-form select:focus{
  border-color: rgba(42,157,143,.7) !important;
  box-shadow: 0 0 0 4px rgba(42,157,143,.14) !important;
  outline: none !important;
}

/* ====== BUTTON SYSTEM (works for Elementor buttons AND HTML buttons) ====== */

/* Base button look for Elementor Button widget */
.elementor-widget-button .elementor-button,
.elementor-button{
  border-radius: var(--jmh-radius-btn) !important;
  padding: 14px 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease !important;
}

/* Base button look for HTML buttons */
.jmh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: var(--jmh-radius-btn);
  padding: 14px 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  user-select:none;
  white-space:nowrap;
}

/* Primary (dark blue) */
.elementor-button.jmh-btn-primary,
.jmh-btn.jmh-btn-primary{
  background-color: var(--jmh-primary) !important;
  color: #fff !important;
  border: none !important;
}
.elementor-button.jmh-btn-primary:hover,
.jmh-btn.jmh-btn-primary:hover{
  background-color: #17304E !important;
  transform: translateY(-1px);
  box-shadow: var(--jmh-shadow-soft);
}

/* Secondary (white) */
.elementor-button.jmh-btn-secondary,
.jmh-btn.jmh-btn-secondary{
  background-color: #fff !important;
  color: var(--jmh-primary) !important;
  border: 1px solid rgba(31,58,95,.18) !important;
}
.elementor-button.jmh-btn-secondary:hover,
.jmh-btn.jmh-btn-secondary:hover{
  background-color: var(--jmh-surface) !important;
  transform: translateY(-1px);
  box-shadow: var(--jmh-shadow-soft);
}

/* Optional: outline (if you ever need) */
.elementor-button.jmh-btn-outline,
.jmh-btn.jmh-btn-outline{
  background: transparent !important;
  color: var(--jmh-primary) !important;
  border: 1px solid rgba(31,58,95,.28) !important;
}
.elementor-button.jmh-btn-outline:hover,
.jmh-btn.jmh-btn-outline:hover{
  background: rgba(31,58,95,.06) !important;
}

/* Badge + divider */
.jmh-badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(42,157,143,.12);
  color: var(--jmh-primary);
  font-weight: 700;
  font-size: 13px;
}
.jmh-divider{ height:1px; background: var(--jmh-border); width:100%; }
/* Make secondary buttons pop on dark sections */
.jmh-cta .jmh-btn-secondary{
  border-color: rgba(255,255,255,.35) !important;
}
/* Force icon badge blocks to render */
.jmh-icon{
  width:44px !important;
  height:44px !important;
  border-radius:12px !important;
  background: rgba(42,157,143,.12) !important;  /* green-ish */
  border: 1px solid rgba(42,157,143,.20) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color: var(--jmh-primary) !important;
  font-weight:900 !important;
  margin-bottom:12px !important;
  line-height: 1 !important;
}
/* ========== JMH Layout Utilities (move styles from page HTML into core) ========== */

/* Page namespace (optional but recommended) */
.jmh-page, .jmh-page *{ box-sizing: border-box; }
.jmh-page{ color: var(--jmh-text); }

/* Centered content wrapper */
.jmh-wrap{
  max-width: var(--jmh-container);
  margin: 0 auto;
  padding: 0 18px;
}

/* Layout helpers */
.jmh-grid{ display:grid; gap:24px; }
.jmh-stack{ display:flex; flex-direction:column; gap:14px; }

.jmh-hero{
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.jmh-2col{
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.jmh-3col{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Responsive collapse */
@media (max-width: 980px){
  .jmh-hero, .jmh-2col{ grid-template-columns: 1fr; }
  .jmh-3col{ grid-template-columns: 1fr; }
}

/* Action row */
.jmh-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

/* Hero image placeholder (can be used anywhere) */
.jmh-hero-img{
  border-radius: var(--jmh-radius);
  border: 1px solid var(--jmh-border);
  background: linear-gradient(135deg, rgba(42,157,143,.14), rgba(31,58,95,.08));
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 980px){
  .jmh-hero-img{ min-height: 260px; }
}
.jmh-hero-img::after{
  content:"Lisää tähän porraskäytäväkuva";
  position:absolute; left:16px; bottom:14px;
  font-size:13px; color: rgba(31,58,95,.80);
  background: rgba(255,255,255,.78);
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(229,231,235,.9);
}

/* Simple checklist (HTML pages) */
.jmh-list2{ list-style:none; padding:0; margin: 12px 0 0; display:grid; gap:10px; }
.jmh-list2 li{ display:flex; gap:10px; align-items:flex-start; color: var(--jmh-text); line-height:1.55; }
.jmh-check2{
  width:22px; height:22px; border-radius:7px;
  background: rgba(42,157,143,.12);
  border: 1px solid rgba(42,157,143,.20);
  display:flex; align-items:center; justify-content:center;
  color: var(--jmh-primary);
  font-weight:900;
  margin-top:2px;
  flex:0 0 auto;
}

/* CTA block (HTML pages) */
.jmh-cta{
  background: var(--jmh-primary);
  color:#fff;
  border-radius: var(--jmh-radius);
  padding: 46px 26px;
  border: 1px solid rgba(255,255,255,.12);
}
.jmh-cta .jmh-h2{ color:#fff; }
.jmh-cta p{ margin:0; color: rgba(255,255,255,.82); line-height:1.6; }

/* Text link style (for non-button links) */
.jmh-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: var(--jmh-primary);
  font-weight:800;
  text-decoration:none !important;
  border-bottom: 1px solid rgba(31,58,95,.35);
  padding-bottom:2px;
}
.jmh-link:hover{ border-bottom-color: rgba(42,157,143,.85); }

/* Ensure icon badge blocks render consistently */
.jmh-icon{
  width:44px !important;
  height:44px !important;
  border-radius:12px !important;
  background: rgba(42,157,143,.12) !important;
  border: 1px solid rgba(42,157,143,.20) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color: var(--jmh-primary) !important;
  font-weight:900 !important;
  margin-bottom:12px !important;
  line-height: 1 !important;
}
/* ===== JMH PAGE (exact match of homepage inline styles) ===== */
.jmh-page, .jmh-page *{ box-sizing:border-box; }
.jmh-page{ color: var(--jmh-text); }

/* wrapper + grids */
.jmh-page .jmh-wrap{ max-width: var(--jmh-container); margin: 0 auto; padding: 0 18px; }

.jmh-page .jmh-grid{ display:grid; gap:24px; }
.jmh-page .jmh-hero{ grid-template-columns: 1.1fr .9fr; gap:40px; align-items:center; }
.jmh-page .jmh-2col{ grid-template-columns: 1fr 1fr; gap:28px; align-items:start; }
.jmh-page .jmh-3col{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 980px){
  .jmh-page .jmh-hero,
  .jmh-page .jmh-2col{ grid-template-columns: 1fr; }
  .jmh-page .jmh-3col{ grid-template-columns: 1fr; }
}

/* stack + text */
.jmh-page .jmh-stack{ display:flex; flex-direction:column; gap:14px; }

.jmh-page .jmh-h1{ font-size: clamp(32px, 3.2vw, 52px); line-height:1.05; letter-spacing:-.02em; margin:0; font-family:"DM Sans", Inter, system-ui, sans-serif; font-weight:800; }
.jmh-page .jmh-h2{ font-size: clamp(26px, 2.2vw, 36px); line-height:1.15; margin:0; font-family:"DM Sans", Inter, system-ui, sans-serif; font-weight:800; letter-spacing:-.015em; }
.jmh-page .jmh-h3{ font-size: clamp(18px, 1.6vw, 22px); line-height:1.25; margin:0; font-family:"DM Sans", Inter, system-ui, sans-serif; font-weight:800; }

.jmh-page .jmh-lead{ font-size: clamp(16px, 1.2vw, 18px); line-height:1.65; color: var(--jmh-muted); margin:0; }
.jmh-page .jmh-p{ margin:0; color: var(--jmh-muted); line-height:1.7; }

/* actions row */
.jmh-page .jmh-actions{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; }

/* hero image */
.jmh-page .jmh-hero-img{
  border-radius: var(--jmh-radius);
  border: 1px solid var(--jmh-border);
  background: linear-gradient(135deg, rgba(42,157,143,.14), rgba(31,58,95,.08));
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 980px){ .jmh-page .jmh-hero-img{ min-height: 260px; } }
.jmh-page .jmh-hero-img::after{
  content:"Lisää tähän porraskäytäväkuva";
  position:absolute; left:16px; bottom:14px;
  font-size:13px; color: rgba(31,58,95,.80);
  background: rgba(255,255,255,.78);
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(229,231,235,.9);
}

/* checklist */
.jmh-page .jmh-list2{ list-style:none; padding:0; margin: 12px 0 0; display:grid; gap:10px; }
.jmh-page .jmh-list2 li{ display:flex; gap:10px; align-items:flex-start; color: var(--jmh-text); line-height:1.55; }
.jmh-page .jmh-check2{
  width:22px; height:22px; border-radius:7px;
  background: rgba(42,157,143,.12);
  border: 1px solid rgba(42,157,143,.20);
  display:flex; align-items:center; justify-content:center;
  color: var(--jmh-primary);
  font-weight:900;
  margin-top:2px;
  flex:0 0 auto;
}

/* cta */
.jmh-page .jmh-cta{
  background: var(--jmh-primary);
  color:#fff;
  border-radius: var(--jmh-radius);
  padding: 46px 26px;
  border: 1px solid rgba(255,255,255,.12);
}
.jmh-page .jmh-cta .jmh-h2{ color:#fff; }
.jmh-page .jmh-cta p{ margin:0; color: rgba(255,255,255,.82); line-height:1.6; }

/* link style */
.jmh-page .jmh-link{
  display:inline-flex; align-items:center; gap:8px;
  color: var(--jmh-primary);
  font-weight:800;
  text-decoration:none !important;
  border-bottom: 1px solid rgba(31,58,95,.35);
  padding-bottom:2px;
}
.jmh-page .jmh-link:hover{ border-bottom-color: rgba(42,157,143,.85); }
/* ===== Anchor nav (single source of truth) ===== */
.jmh-anchorbar-wrap{ position: relative; }

#jmhAnchorBar .jmh-wrap{
  display:flex;
  justify-content:center;
}

/* pill container */
.jmh-anchor-nav{
  width: fit-content;
  max-width: calc(100vw - 36px);

  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;

  padding:10px;
  border-radius:999px;

  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(229,231,235,.9);
  box-shadow: var(--jmh-shadow-soft);
}

/* links */
.jmh-anchor-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:10px 14px;
  border-radius:999px;

  background: transparent;
  border: 1px solid transparent;

  color: var(--jmh-primary);
  text-decoration:none !important;
  font-weight:800;
  letter-spacing:.01em;
  line-height:1;

  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.jmh-anchor-link:hover{
  transform: translateY(-1px);
  background: rgba(42,157,143,.12);
  border-color: rgba(42,157,143,.22);
}
.jmh-anchor-link.is-active{
  background: var(--jmh-primary);
  color:#fff !important;
  border-color: rgba(31,58,95,.25);
  box-shadow: 0 6px 16px rgba(31,58,95,.18);
}

/* default state (NOT sticky) */
.jmh-anchorbar{
  position: relative;
  z-index: 999;
}

/* fixed state (JS adds .is-fixed) */
.jmh-anchorbar.is-fixed{
  position: fixed;
  left: 0;
  right: 0;
  top: 90px; /* säädä headerin mukaan */
  z-index: 9999;

  background: transparent !important;
  padding: 0 !important;
}

/* mobile */
@media (max-width: 767px){
  .jmh-anchor-nav{ padding:8px; gap:8px; border-radius:16px; }
  .jmh-anchor-link{ padding:9px 12px; }
  .jmh-anchorbar.is-fixed{ top: 70px; }
}

/* anchor targets not hidden */
#porrassiivous,
#lisapalvelut,
#yrityssiivous,
#toiminta-alue{
  scroll-margin-top: 200px;
}
.jmh-anchorbar, .jmh-anchorbar.is-fixed{ position: relative !important; top:auto !important; }
/* ===== Fix: Elementor mobile menu above sticky anchor bar ===== */
@media (max-width: 767px){

  /* Elementor hamburger / dropdown containers often use these */
  .elementor-nav-menu--dropdown,
  .elementor-nav-menu__container,
  .elementor-nav-menu--dropdown.elementor-nav-menu__container,
  .elementor-menu-toggle,
  .elementor-nav-menu__container.elementor-active{
    position: relative;
    z-index: 99999 !important;
  }

  /* If your header uses sticky/fixed, keep it above page content */
  header,
  .elementor-location-header{
    z-index: 99990 !important;
  }

  /* Keep anchor bar below the menu */
  .jmh-anchorbar,
  .jmh-anchorbar.is-fixed{
    z-index: 5000 !important;
  }
}
/* ===== JMH Footer (compact) ===== */
.jmh-footer{
  background: var(--jmh-surface);
  border-top: 1px solid var(--jmh-border);
  padding: 28px 0;              /* matala */
}

.jmh-footer .jmh-footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px 28px;
  align-items:start;
}

.jmh-footer .jmh-footer-title{
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
}

.jmh-footer .jmh-footer-text{
  margin: 0;
  color: var(--jmh-muted);
  line-height: 1.6;
  font-size: 15px;
}

.jmh-footer .jmh-footer-links{
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.jmh-footer a.jmh-footer-link{
  color: var(--jmh-text);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  opacity: .92;
}

.jmh-footer a.jmh-footer-link:hover{
  color: var(--jmh-primary);
  opacity: 1;
  text-decoration: none !important;
}

.jmh-footer .jmh-footer-meta{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--jmh-border);
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
  color: var(--jmh-muted);
  font-size: 13px;
}

.jmh-footer .jmh-inline{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 14px;
}

.jmh-footer .jmh-badge-mini{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(31,58,95,.14);
  background: #fff;
  color: var(--jmh-text);
  font-weight: 700;
  font-size: 14px;
}

.jmh-footer .jmh-badge-mini a{
  color: inherit;
  text-decoration: none !important;
}

@media (max-width: 980px){
  .jmh-footer .jmh-footer-grid{
    grid-template-columns: 1fr;
  }
  .jmh-footer{
    padding: 24px 0;
  }
}
/* Footer bottom row */
.jmh-footer-bottom{
  border-top: 1px solid var(--jmh-border);
  margin-top: 28px;
  padding-top: 16px;
}

.jmh-footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.jmh-footer-copy{
  font-size:14px;
  color: var(--jmh-muted);
}

.jmh-footer-credit{
  font-size:14px;
  color: var(--jmh-muted);
}

.jmh-footer-credit a{
  color: var(--jmh-primary);
  text-decoration:none;
  font-weight:600;
}

.jmh-footer-credit a:hover{
  text-decoration:underline;
}
.jmh-footer-dot{
  opacity:.5;
  padding: 0 6px;
}/* End custom CSS */