/* NUBE — header, main flow, footer, sections */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 100px;
  align-items: center;
  gap: 24px;
  padding: 0 64px;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background var(--transition-theme), border-color var(--transition-theme);
}

.left.social {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  display: inline-grid;
  place-items: center;
  color: var(--text-main);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social a:hover {
  transform: scale(1.06);
  background: var(--accent-soft);
  border-color: var(--accent);
}

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

.brand-badge img {
  height: 46px;
  width: auto;
}

.right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

main {
  position: relative;
  z-index: 1;
  padding: 100px 0 48px;
}

.home-sections {
  width: 100%;
}

.section {
  width: 100%;
  max-width: var(--section-max);
  margin: 0 auto 52px;
  padding: 0 20px;
}

.section--hero {
  max-width: none;
  margin-bottom: 0;
  padding: 0;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 24px 20px 20px;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: var(--section-max);
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid var(--panel-border);
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-box .small {
  font-size: 0.65rem;
  font-weight: 300;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.rs-logo {
  height: 22px;
  width: auto;
}

.footer-bottom .copyright {
  font-size: 0.65rem;
  color: var(--text-dim);
}
