#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  pointer-events: none;
}

#site-header::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--gold));
  transition: opacity 0.35s, transform 0.35s;
  transform-origin: top;
}

#site-header.scrolled::before {
  opacity: 0;
  transform: scaleY(0);
}

.header-inner {
  pointer-events: auto;
  max-width: 100%;
  margin: 0;
  padding: 0 3rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition:
    margin        0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    padding       0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    height        0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    border-radius 0.45s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow    0.45s ease,
    border        0.45s ease,
    max-width     0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}

#site-header.scrolled .header-inner {
  max-width: 1000px;
  margin: 12px auto 0;
  padding: 0 1.4rem;
  height: 56px;
  border-radius: 40px;
  border: 1px solid rgba(42,184,196,0.18);
  box-shadow:
    0 4px 32px rgba(42,184,196,0.14),
    0 1px 4px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.8);
  gap: 1.8rem;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 82px;
  width: auto;
  display: block;
  transition: height 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
#site-header.scrolled .logo img {
  height: 40px;
}

nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-list li a {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-list li a:hover {
  color: var(--cyan);
  background: rgba(42,184,196,0.07);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-list li a.active { color: var(--cyan); }

.nav-cta { flex-shrink: 0; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  box-shadow: 0 2px 12px rgba(42,184,196,0.32), 0 1px 3px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(42,184,196,0.4), 0 2px 6px rgba(0,0,0,0.1);
  filter: brightness(1.06);
}

.btn-contact:hover::before { opacity: 1; }
.btn-contact:active { transform: translateY(0); }
.btn-contact svg { width: 13px; height: 13px; flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  gap: 0.25rem;
  border-radius: 0 0 24px 24px;
  pointer-events: auto;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(42,184,196,0.08);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-cta { margin-top: 0.75rem; text-align: center; border-bottom: none; }

.mobile-menu .mobile-cta a {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: 20px;
  border-bottom: none;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  nav, .nav-cta { display: none; }
  .burger { display: flex; }
  .header-inner { gap: 1rem; }
}

.page-top {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e8f9fb 0%, #edfaf3 100%);
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  color: #666;
  text-align: center;
  flex-direction: column;
  gap: 0.5rem;
}

.page-top h1 { font-size: 2.5rem; color: var(--text); }

.scroll-hint {
  margin-top: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--cyan); font-size: 0.8rem; letter-spacing: 0.1em;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

.scroll-hint svg { width: 20px; height: 20px; }

.page-filler {
  height: 200vh;
  background: linear-gradient(180deg, #edfaf3 0%, #f4f6f8 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; color: #bbb; font-size: 1rem;
}