html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', Arial, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
}

/* Vincit-tyylinen pyörivä tausta */
.site-background-anim {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.site-background-anim svg {
  width: 100vw;
  height: 100vh;
  display: block;
  animation: site-bg-spin 60s linear infinite;
}
@keyframes site-bg-spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

/* Kaikki sisältö taustan päällä */
body > *:not(.site-background-anim) {
  position: relative;
  z-index: 1;
}

/* Logopalkki */
.logo-bar {
  width: 100vw;
  background: #fff;
  padding: 1.4rem 0 1.0rem 0;
  box-shadow: 0 1px 12px 0 rgba(0,0,0,0.03);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-bar {
  width: 100vw;
  background: rgba(255,255,255,0.4);
  padding: 1.4rem 0 1.0rem 0;
  box-shadow: 0 1px 12px 0 rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;   /* Lisää tämä rivi! */
  align-items: center;      /* Lisää tämä rivi! */
}

.logo {
  height: 60px; /* Tai muu haluamasi korkeus */
  display: block;
  margin: 0 auto;
}

.slogan {
  margin-top: 0.7em;      /* Lisää tilaa logon alle */
  padding: 0.5em 0 0 0;   /* Extra padding ylös */
  font-size: 1.15em;
  font-weight: 600;
  color: #1e2a33;
  letter-spacing: 0.02em;
  text-align: center;
}
/* Palvelut */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  padding: 4rem 8vw 2.5rem 8vw;
  margin-top: 1.5rem;
}
.service {
  background: rgba(255,255,255,1);
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(30,60,90,0.05);
  padding: 2rem 1.2rem 1.3rem 1.2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service:hover {
  box-shadow: 0 6px 22px 0 rgba(30,60,90,0.12);
  transform: translateY(-4px) scale(1.025);
}
.service img {
  height: 46px;
  margin-bottom: 1.2rem;
}
.service h3 {
  margin: 0.2rem 0 0.7rem 0;
  font-size: 1.13em;
  color: #1e2a33;
  font-weight: 600;
}
.service p {
  color: #333;
  font-size: 1em;
  margin: 0;
}

/* Asiakkuudet */
.clients {
  text-align: center;
  background: rgba(255,255,255,0;
  border-radius: 18px;
  max-width: 700px;
  margin: 2.5rem auto 1.5rem auto;
  box-shadow: 0 2px 12px 0 rgba(30,60,90,0);
  padding: 2rem 1.2rem 1.3rem 1.2rem;
}
.clients h3 {
  margin: 0 0 0.6rem 0;
  font-weight: 600;
  color: #1e2a33;
}

/* Yhteystiedot */
.contact-section {
  min-height: 70vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px 0 rgba(40,60,90,0.10);
  object-fit: cover;
  background: #fff;
}
.avatar-wrap {
  position: absolute;
  top: -12px;   /* Nosta vähän vähemmän nyt kun kuva on pienempi */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.contact {
  background: #fff;
  border-radius: 18px;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 2px 12px 0 rgba(30,60,90,0.08);
  padding: 4.5rem 1.3rem 2.2rem 1.3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .contact-card {
    width: 90vw;
  }
  .contact {
    max-width: 100%;
    padding: 4.5rem 0.6rem 2rem 0.6rem;
  }
  .avatar {
    width: 70px; height: 70px;
  }
  .avatar-wrap {
    top: -36px;
  }
}
.linkedin-btn {
  width: 40px;
  height: 40px;
  right: -16px;
  bottom: -16px;
}