/* Akis Rock Energy Oy
   Päivitetty ulkoasu 2026. Ladataan akisrockenergy.css:n jälkeen.
   Värit ja fontti ovat yrityksen omasta ilmeestä. */

:root {
  --black: #131211;
  --ink: #1a1917;
  --paper: #fbfaf8;
  --smoke: #f2f0ec;
  --hair: #e2ded8;
  --muted: #8a8a8a;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Typografia
   ------------------------------------------------------------ */

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  max-width: 26ch;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 14px;
}

h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.4px;
  margin: 0 0 10px;
}

h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

h6 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 14px;
}

p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.hero-paragraph,
.paragraph-large { font-size: 18px; }

.grid-text-wrapper p,
.service-rich-text p { max-width: 62ch; }

p a,
.service-rich-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

p a:hover,
.service-rich-text a:hover { text-decoration: underline; }

::selection {
  background: var(--accent);
  color: #fff;
}

/* Rytmi
   ------------------------------------------------------------ */

.section.spacing-medium,
.section.spacing-medium.more-bottom {
  margin-top: 84px;
  margin-bottom: 84px;
}

.heading-line {
  width: 60px;
  height: 5px;
  background-color: var(--accent);
  margin: 6px 0 30px;
}

/* Navigaatio
   ------------------------------------------------------------ */

.navbar {
  transition: background-color .3s ease, padding .3s ease;
}

.navbar.scrolled {
  background-color: rgba(19, 18, 17, .97);
  backdrop-filter: blur(10px);
}

img.nav-logo {
  height: 84px;
  width: auto;
  transition: height .3s var(--ease);
}

.navbar.scrolled img.nav-logo { height: 62px; }

.nav-link {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1px;
}

/* Painikkeet
   ------------------------------------------------------------ */

.button {
  border-radius: 3px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
  transition: background-color .15s, box-shadow .2s, transform .1s;
}

.button:hover {
  background-color: #e44a19;
  box-shadow: 0 6px 18px rgba(252, 86, 35, .3);
}

.button:active { transform: scale(.98); }

.button.small {
  padding: 11px 24px;
  font-size: 14px;
}

.arrow-link-3 {
  font-size: 14.5px;
  font-weight: 600;
}

.arrow-link-3 .arrow-icon { transition: transform .2s var(--ease); }
.arrow-link-3:hover .arrow-icon { transform: translateX(4px); }

/* Hero */

.background-overlay {
  opacity: 1;
  background: linear-gradient(105deg, rgba(19, 18, 17, .88) 0%, rgba(19, 18, 17, .55) 52%, rgba(19, 18, 17, .18) 100%);
}

.hero,
.hero-section { position: relative; }

.container,
.page-hero,
.hero-content {
  position: relative;
  z-index: 2;
}

/* Kuvat
   Huom: .image-absolute on z-index:-2, joten kääreelle ei saa
   antaa taustaväriä tai kuva jää sen alle.
   ------------------------------------------------------------ */

.service-image-wrapper,
.featured-image {
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 2px 20px rgba(19, 18, 17, .1);
}

/* Kuvasuhde vain jos selain tukee sitä. Muuten alkuperäinen
   padding-top-tekniikka hoitaa korkeuden. */
@supports (aspect-ratio: 4 / 3) {
  .service-image-wrapper,
  .featured-image {
    aspect-ratio: 4 / 3;
    padding-top: 0;
  }
}

/* Kuvat ovat työmailta eri kameroilla ja eri valoissa. Kevyt
   yhtenäinen sävytys sitoo ne yhteen ja sopii alan ilmeeseen. */
.service-image-wrapper .image-absolute,
.featured-image .image-absolute {
  z-index: 0;
  filter: contrast(1.04) saturate(1.05) brightness(1.02);
  transition: transform .7s var(--ease), filter .35s ease;
}

/* Kevyt tummennus alareunaan syvyyden vuoksi */
.service-image-wrapper::after,
.featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(transparent 78%, rgba(19, 18, 17, .12));
  box-shadow: inset 0 0 0 1px rgba(19, 18, 17, .07);
}

.service-item:hover .service-image-wrapper .image-absolute {
  transform: scale(1.05);
  filter: contrast(1.06) saturate(1.1) brightness(1.04);
}

/* Isot esittelykuvat: oranssi kulmadetalji */
.featured-image { position: relative; }

.featured-image::before {
  content: '';
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 70px;
  height: 70px;
  z-index: 3;
  border-left: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
}

/* Kuvat häivähtävät esiin latautuessaan, ei äkkinäistä ilmestymistä */
img[data-loading] {
  opacity: 0;
  transition: opacity .5s ease;
}

img[data-loading].is-loaded { opacity: 1; }

/* Palvelukortit
   ------------------------------------------------------------ */

.service-grid.spacing-small,
.service-grid.spacing-small.services {
  grid-column-gap: 36px;
  grid-row-gap: 48px;
}

.service-item .service-name {
  border-left: 3px solid var(--accent);
  padding: 0 0 0 18px;
  margin-top: 20px;
}

.h3-service {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
  transition: color .15s;
}

.service-item:hover .h3-service { color: var(--accent); }
.service-paragraph { font-size: 15px; }

/* Yhteydenottokortit
   Kortit ovat värillisen osion sisällä, joten tekstivärit on
   pakko määritellä erikseen.
   ------------------------------------------------------------ */

a.white-service {
  color: var(--black);
  background-color: var(--paper);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 3px;
  padding: 26px 22px;
  text-align: left;
  align-items: flex-start;
  transition: transform .2s var(--ease), box-shadow .2s;
}

a.white-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

a.white-service .contact-icon-home {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 14px;
}

a.white-service .contact-info-text-block {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

a.white-service p.contact-paragraph-home {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
  word-break: break-word;
}

.cta-grid {
  grid-column-gap: 48px;
  align-items: center;
}

.h2-centered.h2-white.font-size-42px {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.8px;
}

/* Arvot
   ------------------------------------------------------------ */

.value-image {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
}

.value-title {
  font-size: 17px;
  margin-bottom: 6px;
}

/* Arvot neljään palstaan. :has() ei toimi vanhemmissa selaimissa
   (Safari alle 15.4, Firefox alle 121), joten siellä säilyy
   alkuperäinen kahden palstan asettelu. Toimii molemmissa. */
@supports selector(:has(*)) {
  @media (min-width: 992px) {
    .service-grid.spacing-small:has(.value-image) {
      grid-template-columns: repeat(4, 1fr);
      grid-column-gap: 32px;
    }
    .service-grid.spacing-small:has(.value-image) > div {
      padding-right: 24px;
      border-right: 1px solid var(--hair);
    }
    .service-grid.spacing-small:has(.value-image) > div:last-child {
      padding-right: 0;
      border-right: none;
    }
    #w-node-_36713a79-2789-6631-ce15-29781bfd1301-65ecbe3f { grid-column: auto; }
  }
}

/* Palvelusivun sivupalkki
   ------------------------------------------------------------ */

.sidebar .other-services {
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: 22px 20px;
}

.service-line { display: none; }

.category-link {
  padding: 9px 0;
  border-bottom: 1px solid #eeece8;
  font-size: 14.5px;
  text-decoration: none;
  transition: color .15s;
}

.category-link:last-child { border-bottom: none; }
.category-link:hover,
.category-link.w--current { color: var(--accent); }

.service-rich-text h2 { font-size: clamp(24px, 2.8vw, 32px); }
.service-rich-text h3 {
  font-size: 20px;
  margin-top: 30px;
}

/* Yhteystietosivu
   ------------------------------------------------------------ */

.contact-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 12px 0 4px;
}

.contact-paragraph {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
}

/* Lomakkeet
   ------------------------------------------------------------ */

.text-field,
.w-input,
.w-select,
textarea.w-input {
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: 13px 14px;
  font-size: 15px;
  transition: border-color .15s;
}

.text-field:focus,
.w-input:focus,
.w-select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Alatunniste
   ------------------------------------------------------------ */

.footer-image { height: 104px; }
.footer-top {
  margin-bottom: 40px;
  padding-bottom: 8px;
}

.footer-grid-2 {
  grid-column-gap: 40px;
  grid-row-gap: 36px;
}

footer h6 {
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}

.footer-link-2 {
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .15s;
}

.footer-link-2:hover { color: var(--accent); }

.footer-col-2 p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .72);
}

.footer-subscribe-text {
  font-size: 14px;
  margin: 0 0 14px;
}

.footer-form .w-input {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .15);
  color: #fff;
}

.footer-form .w-input:focus { border-color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* Sisääntuloanimaatio
   Osiot nousevat hiukan esiin kun ne tulevat näkyviin.
   Luokka lisätään js/akre-nav.js:ssä.
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Saavutettavuus
   ------------------------------------------------------------ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .image-absolute,
  .arrow-icon,
  a.white-service,
  .button,
  img.nav-logo { transition: none; }
}

/* Mobiili
   ------------------------------------------------------------ */

@media (max-width: 991px) {
  .service-grid.spacing-small,
  .service-grid.spacing-small.services {
    grid-column-gap: 28px;
    grid-row-gap: 38px;
  }
}

@media (max-width: 767px) {
  .section.spacing-medium,
  .section.spacing-medium.more-bottom {
    margin-top: 56px;
    margin-bottom: 56px;
  }
  img.nav-logo,
  .navbar.scrolled img.nav-logo { height: 62px; }
  .footer-image { height: 60px; }
  .service-image-wrapper,
  .featured-image { aspect-ratio: 16 / 10; }
  .featured-image::before { left: 10px; bottom: 10px; width: 48px; height: 48px; }
  .cta-grid { grid-row-gap: 32px; }
}

/* Viisto leikkaus tummien osioiden reunoihin
   Antaa sivulle liikettä ilman että mitään siirretään.
   ------------------------------------------------------------ */

.section.black-bg:not(.footer),
.section.accent-bg {
  position: relative;
  clip-path: polygon(0 0, 100% 2.2vw, 100% 100%, 0 calc(100% - 2.2vw));
  margin-top: -2.2vw;
  margin-bottom: -2.2vw;
  padding-top: calc(2.2vw + 40px);
  padding-bottom: calc(2.2vw + 40px);
  z-index: 1;
}

@supports not (clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)) {
  .section.black-bg:not(.footer),
  .section.accent-bg {
    clip-path: none;
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .section.black-bg:not(.footer),
  .section.accent-bg {
    clip-path: polygon(0 0, 100% 1.6vw, 100% 100%, 0 calc(100% - 1.6vw));
  }
}

/* Numeroidut palvelukortit
   ------------------------------------------------------------ */

.service-item { position: relative; counter-increment: palvelu; }
.service-grid { counter-reset: palvelu; }

.service-item .service-image-wrapper::before {
  content: counter(palvelu, decimal-leading-zero);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  padding: 8px 14px;
}

/* Painikkeeseen liukuva korostus
   ------------------------------------------------------------ */

.button {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .14);
  transform: translateX(-101%);
  transition: transform .4s var(--ease);
}

.button:hover::before { transform: translateX(0); }

/* Otsikoiden yläpuolinen tunniste
   ------------------------------------------------------------ */

.heading-line { position: relative; }

.heading-line::after {
  content: '';
  position: absolute;
  left: 68px;
  top: 2px;
  width: 14px;
  height: 1px;
  background: var(--hair);
}

/* Luottamusrivi heron alle
   ------------------------------------------------------------ */

.akre-facts {
  position: relative;
  z-index: 2;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 8px 0 40px;
}

.akre-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.akre-fact {
  padding-top: 22px;
  border-top: 3px solid var(--accent);
}

.akre-fact b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.3px;
  color: #fff;
}

.akre-fact span {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .6);
}

@media (max-width: 991px) {
  .akre-facts-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 560px) {
  .akre-facts { padding-bottom: 30px; }
  .akre-facts-grid { grid-template-columns: 1fr; gap: 20px; }
  .akre-fact { padding-top: 16px; }
}

/* Alatunnisteen linkit periytyvät oikein myös div-elementtien sisällä
   ------------------------------------------------------------ */

.footer-col-2 a,
.footer-link-2 a {
  color: inherit;
  text-decoration: none;
}

.footer-col-2 a:hover,
.footer-link-2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Evästesuostumus
   Analytiikka ladataan vasta kun kävijä on hyväksynyt.
   ------------------------------------------------------------ */

.akre-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 420px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, .14);
  border-left: 3px solid var(--accent);
  padding: 20px 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}

.akre-consent[hidden] { display: none; }

.akre-consent p {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.akre-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.akre-btn,
.akre-btn-ghost {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}

.akre-btn {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.akre-btn:hover { background: #e44a19; border-color: #e44a19; }

.akre-btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .28);
}

.akre-btn-ghost:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }

@media (max-width: 767px) {
  .akre-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    padding: 15px 16px;
  }
  .akre-consent p {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .akre-consent-buttons { gap: 8px; }
  .akre-btn, .akre-btn-ghost {
    flex: 1;
    padding: 11px 12px;
    font-size: 13.5px;
    white-space: nowrap;
  }
  /* Kelluvat napit odottavat kunnes suostumus on käsitelty,
     jotta ruudun alaosa ei täyty napeista kerralla. */
  body:has(.akre-consent:not([hidden])) .akre-call,
  body:has(.akre-consent:not([hidden])) .ybw { display: none; }
}

/* Soittonappi puhelimessa
   Työmaalta soitetaan, joten numero on aina yhden kosketuksen päässä.
   ------------------------------------------------------------ */

.akre-call { display: none; }

@media (max-width: 767px) {
  .akre-call {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 52px;
    padding: 0 20px;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .3px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  }
  .akre-call:active { background: #e44a19; }
}

/* Ohituslinkki näppäimistökäyttäjille
   ------------------------------------------------------------ */

.akre-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.akre-skip:focus {
  left: 12px;
  top: 12px;
}

/* Viimeistely
   ------------------------------------------------------------ */

/* Ankkurilinkit eivät jää kiinteän valikon alle */
html {
  scroll-padding-top: 130px;
}

@media (max-width: 767px) {
  html { scroll-padding-top: 100px; }
}

/* Otsikot katkeavat tasapainoisesti, ei yhtä orpoa sanaa riville.
   Leipätekstissä sama idea kevyempänä. */
h1, h2, h3, .h3-service, .h2-contact {
  text-wrap: balance;
}

p, .service-paragraph, .akre-fact span {
  text-wrap: pretty;
}

/* Pehmeä siirtymä sivulta toiselle. Selaimet jotka eivät tue
   tätä näyttävät sivun normaalisti ilman siirtymää. */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Osioiden välit skaalautuvat ruudun mukaan portaattomasti */
.section.spacing-medium,
.section.spacing-medium.more-bottom {
  margin-top: clamp(52px, 7vw, 92px);
  margin-bottom: clamp(52px, 7vw, 92px);
}

/* Kosketuskohteet riittävän isoiksi puhelimessa */
@media (max-width: 767px) {
  .nav-link,
  .footer-link-2,
  .category-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Valikon linkkien alleviivaus liukuu esiin */
@media (min-width: 992px) {
  .nav-link {
    position: relative;
    padding-bottom: 4px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .1px;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .nav-link:hover::after,
  .nav-link.w--current::after { transform: scaleX(1); }
}

/* Kalusto tyypeittäin
   ------------------------------------------------------------ */

.akre-kalusto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin: 30px 0 26px;
}

.akre-kalusto-ryhma h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.akre-kalusto-ryhma ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.akre-kalusto-ryhma li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
  margin-bottom: 9px;
}

.akre-kalusto-ryhma li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 767px) {
  .akre-kalusto { grid-template-columns: 1fr; gap: 24px; }
}

/* Kalusto ryhmiteltynä tyypeittäin
   ------------------------------------------------------------ */

.akre-fleet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--hair);
  border: 1px solid var(--hair);
}

.akre-fleet-group {
  background: var(--paper);
  padding: 26px 24px;
}

.akre-fleet-group h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin: 0 0 16px;
  padding-bottom: 13px;
  border-bottom: 3px solid var(--accent);
}

.akre-fleet-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.akre-fleet-group li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 11px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
}

.akre-fleet-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.akre-fleet-note {
  margin-top: 30px;
  font-size: 16px;
}

.akre-fleet-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.akre-fleet-note a:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .akre-fleet { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .akre-fleet { grid-template-columns: 1fr; }
}

/* Kuvien vierityksen mukainen syvyysvaikutelma
   Taustakuva liikkuu hitaammin kuin sisältö. Toimii vain
   selaimissa jotka tukevat, muualla kuva pysyy paikallaan.
   ------------------------------------------------------------ */

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .page-hero .background-image,
  .hero-slider .background-image {
    will-change: transform;
  }
}

/* Palvelukortit: kohotus ja varjo tarttuvat paremmin
   ------------------------------------------------------------ */

.service-item {
  transition: transform .3s var(--ease);
}

.service-item:hover {
  transform: translateY(-4px);
}

/* Lomakkeen kentät: selkeämpi aktiivinen tila
   ------------------------------------------------------------ */

.text-field:focus,
.w-input:focus,
.w-select:focus,
textarea.w-input:focus {
  box-shadow: 0 0 0 3px rgba(252, 86, 35, .14);
}

/* Valittu teksti ja tarkennusrengas yhtenäisiksi
   ------------------------------------------------------------ */

/* Kuvien latautuminen ei hyppäytä sivua
   ------------------------------------------------------------ */

img { background-color: rgba(0, 0, 0, .03); }

/* Lapinakyvat kuvat eivat saa taustalaatikkoa */
.background-image,
.nav-logo,
.footer-image,
.ybw-pi,
img[src$=".png"],
img[src$=".svg"] { background-color: transparent; }

/* Tulostusversio: kelluvat napit ja koristeet pois
   ------------------------------------------------------------ */

@media print {
  .akre-call,
  .akre-consent,
  .ybw,
  .navbar,
  .akre-skip,
  .hero-slider { display: none !important; }

  body { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; }
}


/* Yhteystietokortteja on kaksi, joten ne keskitetaan
   eika jateta tyhjaa kolmatta saraketta.
   ------------------------------------------------------------ */

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    grid-column-gap: 64px;
  }
}


/* Hero-kuvien rajaus
   Koneet ja tyontekijat ovat kuvissa keskella tai hieman
   ylapuolella, joten rajaus painottuu sinne eika maahan.
   ------------------------------------------------------------ */

.background-image,
.hero-slider .w-slide img {
  object-position: 50% 42%;
}

@media (max-width: 767px) {
  .background-image,
  .hero-slider .w-slide img {
    object-position: 50% 45%;
  }
}


/* Logo hero-kuvan paalla
   Varjo auttaa erottumaan vaaleasta taivaasta.
   ------------------------------------------------------------ */

img.nav-logo {
  height: 118px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55));
}

.navbar.scrolled img.nav-logo {
  height: 78px;
  filter: none;
}

@media (max-width: 767px) {
  img.nav-logo,
  .navbar.scrolled img.nav-logo { height: 76px; }
}


/* Yhteydenottokortit toimintanappeina
   Alatekstit poistettiin, joten kortit tiivistetaan niin
   ettei niihin jaa tyhjaa tilaa.
   ------------------------------------------------------------ */

a.white-service {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  min-height: 0;
}

a.white-service .contact-icon-home {
  margin-bottom: 0;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

a.white-service .contact-info-text-block {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: none;
  color: var(--black);
}

a.white-service p.contact-paragraph-home:empty { display: none; }

.two-services-grid { align-items: start; }


/* Viimeinen siistiminen
   ------------------------------------------------------------ */

/* Otsikoiden ja tekstin valit tasaisemmiksi */
.grid-text-wrapper h2 + .heading-line { margin-bottom: 26px; }
.service-rich-text h3 { margin-top: 34px; }

/* Palvelusivun leipateksti hieman ilmavammaksi */
.service-rich-text p { line-height: 1.75; }

/* Sivupalkin linkit erottuvat paremmin */
.category-link.w--current {
  font-weight: 700;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-left: -15px;
}

/* Lomakkeen lahetysnappi taysleveaksi mobiilissa */
@media (max-width: 767px) {
  .form-grid .button,
  .footer-form .button { width: 100%; }
}

/* Kuvien ylareunaan ei jaa hiusviivaa */
.service-image-wrapper::after,
.featured-image::after { border-radius: inherit; }

/* Evastepalkki ei peita sisaltoa tyopoydalla */
@media (min-width: 992px) {
  .akre-consent { max-width: 380px; }
  .akre-consent p { font-size: 13.5px; }
}
