
  * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -o-font-smoothing: antialiased;
}



html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}



:root{--tnt-red:#c1272d;}
html body{font-family:'Archivo',Arial,sans-serif;}
.hero_background-image{transform-origin:50% 42%;animation:tntKen 26s ease-in-out infinite;}
@keyframes tntKen{0%{transform:scale(1)}50%{transform:scale(1.09)}100%{transform:scale(1)}}
/* NAVI: keskitetty pilleri, läpinäkyvä alussa */
.navbar.navbar--scrolled{background-color:rgba(21,19,16,.72);border-color:rgba(243,238,228,.12);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);}
.navbar_dropdown{transition:opacity .2s ease,transform .24s cubic-bezier(.22,1,.36,1);transform:translateY(8px);pointer-events:none;box-shadow:0 24px 48px rgba(0,0,0,.45);}
.navbar_item-drop:hover .navbar_dropdown{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;}
.navbar_item-drop:hover .navbar_caret{transform:rotate(225deg);margin-bottom:0;}
.navbar_dropdown-link{transition:background-color .18s ease,color .18s ease;display:flex;align-items:center;column-gap:.6rem;}
.navbar_dropdown-link::before{content:"";width:7px;height:7px;background-color:rgba(243,238,228,.32);flex:0 0 auto;transition:background-color .18s ease;}
.navbar_dropdown-link:hover{background-color:rgba(243,238,228,.08);color:#f3eee4;}
.navbar_dropdown-link:hover::before{background-color:var(--tnt-red);}
/* Chip-ikoni */
.button::after{content:"";width:1.6rem;height:1.6rem;flex:0 0 auto;border-radius:50%;background-repeat:no-repeat;background-position:center;background-size:.68rem;transition:transform .2s ease;background-color:rgba(0,0,0,.16);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14 14 2M14 2H5M14 2v9' stroke='%23ffffff' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");}
.button:hover::after{transform:translate(2px,-2px);}
.is-secondary-dark::after{background-color:rgba(23,19,16,.08);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14 14 2M14 2H5M14 2v9' stroke='%23171310' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");}
/* Eyebrow-pallot (neliö) */
.services_eyebrow::before,.dual_eyebrow::before,.ref_eyebrow::before,.news_eyebrow::before,.huolto_eyebrow::before,.faq_eyebrow::before,.cta_eyebrow::before,.hanakat_eyebrow::before,.why_eyebrow::before{content:"";display:inline-block;width:8px;height:8px;background-color:var(--tnt-red);margin-right:.55rem;vertical-align:middle;position:relative;top:-1px;}
/* Palvelurivi: nuoli + nimen väri */
.services_row{position:relative;padding-right:3.75rem;}
.services_name{transition:color .35s ease;}
.services_row:hover .services_name{color:var(--tnt-red);}
.services_row::after{content:"";position:absolute;right:0;top:50%;width:2.6rem;height:2.6rem;margin-top:-1.3rem;border:1px solid rgba(23,19,16,.18);border-radius:50%;background-repeat:no-repeat;background-position:center;background-size:.8rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14 14 2M14 2H5M14 2v9' stroke='%23171310' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");transition:transform .4s ease,background-color .4s ease,border-color .4s ease;}
.services_row:hover::after{transform:rotate(45deg);background-color:var(--tnt-red);border-color:var(--tnt-red);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14 14 2M14 2H5M14 2v9' stroke='%23ffffff' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");}
/* Korttien kuva-zoom */
.dual_card-image,.ref_item-image{transition:transform .6s cubic-bezier(.22,1,.36,1);}
.dual_card:hover .dual_card-image,.ref_item:hover .ref_item-image{transform:scale(1.05);}
/* Reveal */
.wf-js .wf-reveal{opacity:0;transform:translateY(1.25rem);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1);transition-delay:var(--wf-d,0ms);}
.wf-js .wf-reveal.wf-in{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){.wf-js .wf-reveal{opacity:1;transform:none;transition:none;}.hero_background-image{animation:none;}}
  /* Trust-palkin sertifikaatti-ikonit */
.trust_item::before{content:"";display:inline-block;width:1.15rem;height:1.15rem;flex:0 0 auto;background-repeat:no-repeat;background-position:center;background-size:contain;}
.trust_item:nth-child(1)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2l2.4 4.9 5.6.8-4 3.9.9 5.4L12 14.5 7.1 17l.9-5.4-4-3.9 5.6-.8L12 2z' stroke='%23c1272d' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");}
.trust_item:nth-child(2)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6l7-3z' stroke='%23c1272d' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M9 12l2 2 4-4' stroke='%23c1272d' stroke-width='1.5'/%3E%3C/svg%3E");}
.trust_item:nth-child(3)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 17l5-5 4 3 7-8' stroke='%23c1272d' stroke-width='1.5'/%3E%3Cpath d='M20 7v5m0-5h-5' stroke='%23c1272d' stroke-width='1.5'/%3E%3C/svg%3E");}
.trust_item:nth-child(4)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23c1272d' stroke-width='1.5'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5' stroke='%23c1272d' stroke-width='1.5'/%3E%3C/svg%3E");}
.trust_item:nth-child(5)::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='9' r='6' stroke='%23c1272d' stroke-width='1.5'/%3E%3Cpath d='M8.5 14l-1.5 7 5-3 5 3-1.5-7' stroke='%23c1272d' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");}
a.trust_item{text-decoration:none;transition:color .2s ease;}
a.trust_item:hover{color:#f3eee4;}
@media(min-width:992px) and (max-width:1380px){.trust_row{flex-flow:wrap;justify-content:center;column-gap:2.25rem;}}
  /* Rekrytoinnin sertifikaattikortti */
.sertti_card{grid-column:1/-1;flex-direction:row;align-items:center;gap:2rem;color:inherit;text-decoration:none;transition:border-color .2s ease;}
.sertti_card:hover{border-color:var(--tnt-red);}
.sertti_image{width:9rem;height:auto;flex:0 0 auto;border-radius:4px;box-shadow:0 6px 18px rgba(23,19,16,.12);}
@media(max-width:479px){.sertti_card{flex-direction:column;align-items:flex-start;}}
  /* UKK-accordion */
.faq_item{cursor:pointer;transition:border-color .2s ease;}
.faq_q{position:relative;padding-right:2.75rem;margin-bottom:0;}
.faq_q::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);width:1.75rem;height:1.75rem;border:1px solid rgba(23,19,16,.22);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:400;font-size:1.15rem;line-height:1;color:#171310;transition:background-color .2s ease,color .2s ease,border-color .2s ease;}
.faq_a{max-height:0;overflow:hidden;opacity:0;transition:max-height .4s cubic-bezier(.22,1,.36,1),opacity .3s ease,padding-top .4s ease;}
.faq_item.is-open{border-color:var(--tnt-red);}
.faq_item.is-open .faq_q::after{content:"–";background-color:var(--tnt-red);border-color:var(--tnt-red);color:#fff;}
.faq_item.is-open .faq_a{max-height:14rem;opacity:1;padding-top:.6rem;}
  /* Hero-napit (button-1): chip + mono + vihreä pulssaava pallo */
.button-1::after{content:"";width:1.6rem;height:1.6rem;flex:0 0 auto;border-radius:50%;background-repeat:no-repeat;background-position:center;background-size:.68rem;transition:transform .2s ease;background-color:rgba(0,0,0,.16);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14 14 2M14 2H5M14 2v9' stroke='%23ffffff' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");}
.button-1:hover::after{transform:translate(2px,-2px);}
.button-1[href^="tel:"]{font-family:'JetBrains Mono',monospace;font-weight:500;letter-spacing:.01em;}
.hero_content .button-1[href^="tel:"]::before{content:"";width:8px;height:8px;border-radius:50%;background-color:#3fbf7f;flex:0 0 auto;animation:tntPulse 2.4s ease-in-out infinite;}



  .section_page-hero{ overflow: hidden; }
  .section_page-hero .heroimage{
    transform: scale(1.16);
    will-change: transform;
    backface-visibility: hidden;
  }



  /* ===== Navin & dropdownin current-page -tila ===== */
  /* Ylänavin linkit – lyhyt, keskitetty punainen viiva */
  .navbar_link.w--current,
  .navbar_link-drop.w--current{ color:#f3eee4; position:relative; }
  .navbar_link.w--current::after,
  .navbar_link-drop.w--current::after{
    content:""; position:absolute;
    left:50%; transform:translateX(-50%);
    bottom:-7px;
    width:0.85rem; height:2px;
    background:#e0262d; border-radius:2px;
  }
  /* Dropdownin linkit – nykyisen kohdan neliö punaiseksi + kirkkaampi teksti */
  .navbar_dropdown-link.w--current{ color:#f3eee4; }
  .navbar_dropdown-link.w--current::before{ background-color:#e0262d !important; }



  @media (max-width: 991px){
    /* paddingia koko menuun */
    .navbar_menu{
      padding: 1.25rem !important;
      row-gap: 0.9rem !important;          /* väli linkkien väliin */
    }
    /* linkkien tap-alue + väli */
    .navbar_link,
    .navbar_link-drop{
      padding-top: 0.35rem !important;
      padding-bottom: 0.35rem !important;
    }
    /* Palvelut-alavalikon välit auki */
    .navbar_dropdown{ row-gap: 0.4rem !important; padding-top: 0.4rem !important; }
    .navbar_dropdown-link{ padding-top: 0.4rem !important; padding-bottom: 0.4rem !important; }
    /* pois punainen current-merkki mobiilissa */
    .navbar_link.w--current::after,
    .navbar_link-drop.w--current::after{ display: none !important; }
  }



  @media (max-width: 479px){
    .hero_content .button-1[href^="tel:"]{
      font-size: 0.8rem;
      padding-left: 0.9rem; padding-right: 0.9rem;
      white-space: nowrap;
    }
    /* piilota nuoli-chip puhelinnapista mobiilissa (se on soitto, ei linkki) */
    .hero_content .button-1[href^="tel:"]::after{ display: none; }
  }



/* Ensure all elements inherit the color from its parent */
a,
.w-input,
.w-select,
.w-tab-link,
.w-nav-link,
.w-nav-brand,
.w-dropdown-btn,
.w-dropdown-toggle,
.w-slider-arrow-left,
.w-slider-arrow-right,
.w-dropdown-link {
  color: inherit;
  text-decoration: inherit;
  font-size: inherit;
}
/* Focus state style for keyboard navigation for the focusable elements */
*[tabindex]:focus-visible,
  input[type="file"]:focus-visible {
   outline: 0.125rem solid #4d65ff;
   outline-offset: 0.125rem;
}
/* Get rid of top margin on first element in any rich text element */
.w-richtext > :not(div):first-child, .w-richtext > div:first-child > :first-child {
  margin-top: 0 !important;
}
/* Get rid of bottom margin on last element in any rich text element */
.w-richtext>:last-child, .w-richtext ol li:last-child, .w-richtext ul li:last-child {
	margin-bottom: 0 !important;
}
/* Prevent all click and hover interaction with an element */
.pointer-events-off {
	pointer-events: none;
}
/* Enables all click and hover interaction with an element */
.pointer-events-on {
  pointer-events: auto;
}
/* Create a class of .div-square which maintains a 1:1 dimension of a div */
.div-square::after {
	content: "";
	display: block;
	padding-bottom: 100%;
}
/* Make sure containers never lose their center alignment */
.container-medium,.container-small, .container-large {
	margin-right: auto !important;
  margin-left: auto !important;
}
/* Apply "..." after 3 lines of text */
.text-style-3lines {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
/* Apply "..." after 2 lines of text */
.text-style-2lines {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
/* Adds inline flex display */
.display-inlineflex {
  display: inline-flex;
}
/* These classes are never overwritten */
.hide {
  display: none !important;
}
/* Remove default Webflow chevron from form select */
select{
  -webkit-appearance:none;
}
@media screen and (max-width: 991px) {
    .hide, .hide-tablet {
        display: none !important;
    }
}
  @media screen and (max-width: 767px) {
    .hide-mobile-landscape{
      display: none !important;
    }
}
  @media screen and (max-width: 479px) {
    .hide-mobile{
      display: none !important;
    }
}
.margin-0 {
  margin: 0rem !important;
}
.padding-0 {
  padding: 0rem !important;
}
.spacing-clean {
padding: 0rem !important;
margin: 0rem !important;
}
.margin-top {
  margin-right: 0rem !important;
  margin-bottom: 0rem !important;
  margin-left: 0rem !important;
}
.padding-top {
  padding-right: 0rem !important;
  padding-bottom: 0rem !important;
  padding-left: 0rem !important;
}
.margin-right {
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
  margin-left: 0rem !important;
}
.padding-right {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
  padding-left: 0rem !important;
}
.margin-bottom {
  margin-top: 0rem !important;
  margin-right: 0rem !important;
  margin-left: 0rem !important;
}
.padding-bottom {
  padding-top: 0rem !important;
  padding-right: 0rem !important;
  padding-left: 0rem !important;
}
.margin-left {
  margin-top: 0rem !important;
  margin-right: 0rem !important;
  margin-bottom: 0rem !important;
}
.padding-left {
  padding-top: 0rem !important;
  padding-right: 0rem !important;
  padding-bottom: 0rem !important;
}
.margin-horizontal {
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
}
.padding-horizontal {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}
.margin-vertical {
  margin-right: 0rem !important;
  margin-left: 0rem !important;
}
.padding-vertical {
  padding-right: 0rem !important;
  padding-left: 0rem !important;
}
/* Apply "..." at 100% width */
.truncate-width { 
		width: 100%; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
/* Removes native scrollbar */
.no-scrollbar {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none; 
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}



/* Color Schemes Controls*/
  .color-scheme-1 {
/*All sections should point to Color Scheme 1*/
  }
  .color-scheme-2 {
    --color-scheme-1--text: var(--color-scheme-2--text);
    --color-scheme-1--background: var(--color-scheme-2--background);
    --color-scheme-1--foreground: var(--color-scheme-2--foreground);
    --color-scheme-1--border: var(--color-scheme-2--border);
    --color-scheme-1--accent: var(--color-scheme-2--accent);
  }
  .color-scheme-3 {
    --color-scheme-1--text: var(--color-scheme-3--text);
    --color-scheme-1--background: var(--color-scheme-3--background);
    --color-scheme-1--foreground: var(--color-scheme-3--foreground);
    --color-scheme-1--border: var(--color-scheme-3--border);
    --color-scheme-1--accent: var(--color-scheme-3--accent);
  }
  .color-scheme-4 {
    --color-scheme-1--text: var(--color-scheme-4--text);
    --color-scheme-1--background: var(--color-scheme-4--background);
    --color-scheme-1--foreground: var(--color-scheme-4--foreground);
    --color-scheme-1--border: var(--color-scheme-4--border);
    --color-scheme-1--accent: var(--color-scheme-4--accent);
  }
  .color-scheme-5 {
    --color-scheme-1--text: var(--color-scheme-5--text);
    --color-scheme-1--background: var(--color-scheme-5--background);
    --color-scheme-1--foreground: var(--color-scheme-5--foreground);
    --color-scheme-1--border: var(--color-scheme-5--border);
    --color-scheme-1--accent: var(--color-scheme-5--accent);
  }
  .color-scheme-6 {
    --color-scheme-1--text: var(--color-scheme-6--text);
    --color-scheme-1--background: var(--color-scheme-6--background);
    --color-scheme-1--foreground: var(--color-scheme-6--foreground);
    --color-scheme-1--border: var(--color-scheme-6--border);
    --color-scheme-1--accent: var(--color-scheme-6--accent);
  }
  .color-scheme-7 {
    --color-scheme-1--text: var(--color-scheme-7--text);
    --color-scheme-1--background: var(--color-scheme-7--background);
    --color-scheme-1--foreground: var(--color-scheme-7--foreground);
    --color-scheme-1--border: var(--color-scheme-7--border);
    --color-scheme-1--accent: var(--color-scheme-7--accent);
  }
  .color-scheme-8 {
    --color-scheme-1--text: var(--color-scheme-8--text);
    --color-scheme-1--background: var(--color-scheme-8--background);
    --color-scheme-1--foreground: var(--color-scheme-8--foreground);
    --color-scheme-1--border: var(--color-scheme-8--border);
    --color-scheme-1--accent: var(--color-scheme-8--accent);
  }
  .color-scheme-9 {
    --color-scheme-1--text: var(--color-scheme-9--text);
    --color-scheme-1--background: var(--color-scheme-9--background);
    --color-scheme-1--foreground: var(--color-scheme-9--foreground);
    --color-scheme-1--border: var(--color-scheme-9--border);
    --color-scheme-1--accent: var(--color-scheme-9--accent);
  }
  .color-scheme-10 {
    --color-scheme-1--text: var(--color-scheme-10--text);
    --color-scheme-1--background: var(--color-scheme-10--background);
    --color-scheme-1--foreground: var(--color-scheme-10--foreground);
    --color-scheme-1--border: var(--color-scheme-10--border);
    --color-scheme-1--accent: var(--color-scheme-10--accent);
  }
/* Inherit slider dot colors */
.w-slider-dot {
  background-color: var(--color-scheme-1--text);
  opacity: 0.20;
}
.w-slider-dot.w-active {
  background-color: var(--color-scheme-1--text);
  opacity: 1;
}
/* Override .w-slider-nav-invert styles */
.w-slider-nav-invert .w-slider-dot {
  background-color: var(--color-scheme-1--text) !important;
  opacity: 0.20 !important;
}
.w-slider-nav-invert .w-slider-dot.w-active {
  background-color: var(--color-scheme-1--text) !important;
  opacity: 1 !important;
}



/* smooth scrolling on iOS devices */
.fs-cc-prefs_content{-webkit-overflow-scrolling: touch}



  /* piilota vanha overlay-menu (aiheutti tuplanavin) */
  .navbar_overlay{ display:none !important; }
  @media (max-width: 991px){
    .navbar_toggle{ display:flex !important; }
    .navbar_phone{ display:none !important; }
    .navbar_menu{
      display:none;
      position:absolute; top:100%; left:0; right:0;
      margin-left:0 !important; margin-top:0.6rem;
      flex-direction:column; align-items:stretch;
      row-gap:0.15rem; padding:0.75rem;
      background:#151310;
      border:1px solid rgba(243,238,228,0.12);
      border-radius:16px;
      max-height:80vh; overflow-y:auto;
    }
    .navbar_menu.is-open{ display:flex !important; }
    .navbar_item{ width:100%; flex-direction:column; align-items:stretch; }
    /* Palvelut-alavalikko: piilossa, avautuu napautuksella */
    .navbar_dropdown{
      position:static !important; opacity:1 !important; min-width:0 !important;
      margin-top:0 !important; padding:0 0 0.25rem 0.9rem !important;
      background:transparent !important; border:none !important;
      display:none !important;
    }
    .navbar_dropdown::before{ display:none !important; }
    .navbar_item.dropdown-open .navbar_dropdown{ display:flex !important; }
    .navbar_item.dropdown-open .navbar_caret{ transform:rotate(-135deg); }
  }
  /* burger -> keskitetty X */
  .navbar_toggle{ position:relative; }
  .navbar_toggle-bar{ transition:opacity .2s ease; }
  .navbar_toggle.is-open .navbar_toggle-bar{ opacity:0; }
  .navbar_toggle.is-open::before,
  .navbar_toggle.is-open::after{
    content:""; position:absolute; top:50%; left:50%;
    width:1.4rem; height:2px; background:#f3eee4; border-radius:2px;
  }
  .navbar_toggle.is-open::before{ transform:translate(-50%,-50%) rotate(45deg); }
  .navbar_toggle.is-open::after{ transform:translate(-50%,-50%) rotate(-45deg); }
