body {
  background: #1A1927;
  color: #f5f5f5;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 3rem 1rem 2rem 1rem;
  border-bottom: 3px solid #ffe066;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, #1A1927 60%, #aef3f7 100%);
  background-size: 200% 200%;
  animation: gradientMove 8s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo, .hero-text {
  position: relative;
  z-index: 1;
}

.logo {
  width: 230px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 16px #23242b88);
}

.hero-text h1 {
  font-size: 2.7rem;
  color: #aef3f7;
  margin: 0.2em 0 0 0;
  letter-spacing: 2px;
  font-weight: 700;
}

.hero-text h2 {
  font-size: 1.3rem;
  color: #fff;
  margin: 0.2em 0 0 0;
  letter-spacing: 2px;
  font-weight: 400;
}

.slogan {
  color: #ffe066;
  font-size: 1.1rem;
  margin-top: 0.7em;
  font-style: italic;
  letter-spacing: 1px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto 2rem auto;
  padding: 0 1rem;
}

.card {
  background: rgba(26, 25, 39, 0.75);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  transition: transform 0.18s, box-shadow 0.18s, border-top 0.18s, background 0.3s;
  border-top: 5px solid #aef3f7;
  position: relative;
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 8px 32px rgba(174,243,247,0.13), 0 4px 24px rgba(0,0,0,0.22);
  border-top: 5px solid #ffe066;
  background: rgba(26, 25, 39, 0.92);
}

.icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.7em;
  transition: transform 0.25s cubic-bezier(.4,2,.6,1), filter 0.25s;
}

.card:hover .icon {
  transform: scale(1.18) rotate(-6deg);
  filter: drop-shadow(0 2px 8px #ffe06688);
}

.card h3 {
  color: #ffe066;
  margin-top: 0;
  letter-spacing: 1px;
  font-size: 1.3rem;
  font-weight: 700;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card li {
  font-size: 1.08rem;
  padding: 0.35em 0;
  border-bottom: 1px solid #333;
}

.card li:last-child {
  border-bottom: none;
}

.card p {
  font-size: 1.08rem;
  margin: 0.5em 0;
}

.menu-btn {
  margin-top: 1.2em;
  background: linear-gradient(90deg, #aef3f7 60%, #ffe066 100%);
  color: #23242b;
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.5em;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #23242b33;
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.menu-btn:hover {
  background: linear-gradient(90deg, #ffe066 60%, #aef3f7 100%);
  color: #23242b;
  transform: scale(1.06);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  margin-bottom: 0.7em;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  transition: transform 0.18s;
}
.footer-socials a:hover {
  transform: scale(1.18) rotate(-8deg);
}

footer {
  text-align: center;
  color: #aef3f7;
  padding: 1.5rem 0 1rem 0;
  font-size: 1rem;
}

.card.wide {
  grid-column: 1 / 4;
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 1.2rem;
  }
  .card.wide {
    grid-column: 1 / 2;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
  }
  .logo {
    width: 100px;
  }
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.3rem;
  }
  .card {
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

.menu.wide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 2.5rem 2rem 2rem 2rem;
  margin-top: 1.5rem;
  background: rgba(26, 25, 39, 0.92);
  border-top: 5px solid #ffe066;
  box-shadow: 0 6px 32px rgba(174,243,247,0.10), 0 4px 24px rgba(0,0,0,0.22);
}

.menu-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.menu-block {
  background: rgba(26, 25, 39, 0.85);
  border-radius: 14px;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  box-shadow: 0 2px 12px #23242b22;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
}
.menu-block:hover {
  box-shadow: 0 6px 24px #ffe06633;
  transform: translateY(-4px) scale(1.03);
}
.menu-block .icon {
  margin-bottom: 0.5em;
}
.menu-block h4 {
  color: #aef3f7;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.7em 0;
  letter-spacing: 1px;
}
.menu-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-block li {
  font-size: 1.08rem;
  padding: 0.32em 0;
  border-bottom: 1px solid #333;
}
.menu-block li:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .menu-sections {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .menu.wide {
    padding: 1.5rem 0.7rem 1rem 0.7rem;
  }
}

.palvelut.wide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.2rem 2rem 2rem 2rem;
  margin-top: 1.5rem;
  background: rgba(26, 25, 39, 0.92);
  border-top: 5px solid #aef3f7;
  box-shadow: 0 6px 32px rgba(174,243,247,0.10), 0 4px 24px rgba(0,0,0,0.22);
}
.palvelut.wide .icon {
  margin-bottom: 0.5em;
}
.palvelut.wide h3 {
  color: #ffe066;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1em 0;
  letter-spacing: 1px;
}
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.services-list li {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  padding: 0.5em 0;
  border-bottom: 1px solid #333;
  gap: 0.7em;
}
.services-list li:last-child {
  border-bottom: none;
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
}
@media (max-width: 900px) {
  .palvelut.wide {
    padding: 1.5rem 0.7rem 1rem 0.7rem;
  }
}

.kastikkeet {
  margin-top: 1.2em;
}
.kastike-ryhma {
  margin-bottom: 0.7em;
}
.kastike-otsikko {
  font-weight: 600;
  color: #ffe066;
  margin-bottom: 0.2em;
  font-size: 1.05em;
}
.kastike-ryhma ul {
  margin: 0 0 0.5em 0;
  padding-left: 1.1em;
  font-size: 0.98em;
  color: #f5f5f5;
}
.kastike-ryhma ul li {
  list-style: disc;
  border: none;
  padding: 0.15em 0;
} 