.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 78px;
  display: flex;
  align-items: flex-start;
  padding: 0 56px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.pepron-logo-svg {
  height: 34px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
  margin-top: 22px;
}

.pepron-logo-svg path {
  transition: fill 0.2s ease;
}

.site-header .pepron-logo-svg path {
  fill: var(--green) !important;
}

.site-header .logo:hover .pepron-logo-svg {
  transform: scale(1.05);
}

.site-header .logo:hover .pepron-logo-svg path {
  fill: var(--green-dark) !important;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  margin-left: auto;
  margin-top: 27px;
  padding: 5px;
}

.main-nav {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 27px 0;
  gap: 14px;
}

.nav-row {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.nav-row.level-1 {
  display: flex;
}

.nav-row.is-active {
  display: flex;
  animation: fadeInRow 0.3s ease forwards;
}

@keyframes fadeInRow {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-row a {
  display: inline-block;
  position: relative;
  color: var(--text);
  transition: color 0.2s;
  padding-bottom: 4px;
}

.nav-row.level-1 a {
  font-size: 15px;
  font-weight: 600;
}

.nav-row.level-2 a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav-row.level-3 a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.nav-row a:hover,
.nav-row a.active {
  color: var(--green);
}

.nav-row a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  border-radius: 2px 2px 0 0;
}

.nav-row a:hover::after,
.nav-row a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 32px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 70px 7vw;
  background: #123126;
  color: white;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-left {
  max-width: 340px;
}

.footer-logo {
  margin-bottom: 20px;
}

.site-footer .pepron-logo-svg {
  height: 32px;
  cursor: pointer;
}

.site-footer .pepron-logo-svg path {
  fill: #ffffff !important;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.site-footer .pepron-logo-svg:hover path {
  opacity: 1;
}

.footer-left p {
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}

.footer-center {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.footer-center span {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
}

.footer-right.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 15px;
  font-weight: 500;
}

.footer-right.footer-links a:hover {
  color: white;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 20px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid var(--line);
    
    /* LISÄTTY KORJAUS LANDSCAPE-ASENNON SKROLLAUKSELLE */
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.is-mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-row {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }
  .footer-left {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-right.footer-links {
    align-items: center;
  }
}