/* ---- Fejléc ---- */
.site-header {
  background: var(--water-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}
.site-logo img { height: 34px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: #dfeaf0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.main-nav .btn-primary { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: rgba(255,255,255,0.1); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--water-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 18px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a { padding: 14px 10px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav .btn-primary { margin: 10px 0 0; text-align: center; }
}

/* ---- Lábléc ---- */
.site-footer {
  margin-top: 60px;
  background: var(--water-deep);
  color: #cfe0e6;
  padding: 32px 0;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- Oldal fejléc sáv (belső oldalakhoz) ---- */
.page-head {
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
