/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--graphite);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  height: 72px;
  width: 100%;
  padding: 0 48px;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* === LOGO === */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.logo svg {
  width: 36px;
  height: 36px;
  display: block;
}

.logo a {
  color: var(--white);
  letter-spacing: 1px;
  font-size: 28px;
  font-weight: 500;
  font-family: var(--font-label);
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo a:hover {
  opacity: 0.75;
}

/* === CENTER NAV === */
.tabs {
  display: flex;
  align-items: center;
  gap: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.tabs .tab {
  display: flex;
  align-items: center;
  font-size: 17   px;
  font-family: var(--font-label);
  font-weight: 400;
  color: rgba(226, 232, 240, 0.55);
  padding: 6px 18px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.1px;
}

.tabs a {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.tabs .tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.tabs .tab.active,
.tabs a.active {
  color: var(--turquoise);
  background: transparent;
  border-bottom: none;
  font-weight: 500;
}

/* No dim-siblings on hover for this layout */
.tabs:hover .tab {
  opacity: 1;
}

/* === RIGHT SIDE CTA === */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

/* If you have a CTA button, add class="header-cta" to its wrapper div */
/* Button style to add to your button element: */
.header-btn {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  background: var(--turquoise);
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.header-btn:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.header-btn:active {
  transform: translateY(0);
}

/* === MOBILE HAMBURGER === */
.mobile-hamburger {
  display: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  transition: all 0.2s ease;
}

.mobile-hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-hamburger svg {
  width: 20px;
  height: 20px;
  fill: var(--light-gray);
  display: block;
}

/* === MOBILE DRAWER === */
.hamburger-menu {
  display: none;
  background: var(--graphite);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  width: 100vw;
}

.hamburger-menu.active {
  display: flex;
}

/* === BLUR OVERLAY === */
.blur {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 280px);
  background: rgba(15, 45, 56, 0.4);
  backdrop-filter: blur(6px);
  z-index: 999;
}

.blur.active {
  display: block;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  header {
    padding: 0 32px;

  }

  .tabs {
    left: auto;
    right: 0;
    transform: translateX(-10%);
  }

  .tabs .tab {
    font-size: 14px;
    padding: 6px 14px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 24px;
  }

  .tabs .tab {
    font-size: 13px;
    padding: 5px 10px;
  }

  .logo a {
    font-size: 22px;
  }

  .logo svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .mobile-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .tabs {
    display: none;
    position: static;
    transform: none;
  }

  header {
    padding: 0 20px;
    position: fixed;
    height: 64px;
  }

  .logo a {
    font-size: 20px;
  }

  .logo svg {
    width: 28px;
    height: 28px;
  }

  .hamburger-menu {
    position: fixed;
    align-items: stretch;
    flex-direction: column;
    top: 64px;
    left: 0;
    width: 100vw;
    padding: 8px 0 16px;
    z-index: 1000;
  }

  .hamburger-menu .bullet {
    font-size: 20px;
    font-family: var(--font-label);
    font-weight: 400;
    color: rgba(226, 232, 240, 0.65);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 24px;
    transition: all 0.2s ease;
  }

  .hamburger-menu .bullet svg {
    width: 24px;
    height: 24px;
    fill: rgba(204, 222, 229, 0.4);
    flex-shrink: 0;
    transition: fill 0.2s ease;
  }

  .hamburger-menu .bullet:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
  }

  .hamburger-menu .bullet:hover svg {
    fill: var(--turquoise);
  }

  .hamburger-menu .bullet.active {
    color: var(--turquoise);
  }
}

/* FOOTER  */

.river-footer {
  width: 100%;
  background: var(--dark-blue);
  position: relative;
  overflow: hidden;
}

/* top shimmer rule */
.river-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--dark-turquoise) 25%,
    var(--turquoise) 50%,
    var(--dark-turquoise) 75%,
    transparent 100%
  );
  opacity: 0.55;
}

/* subtle radial glow top-right */
.river-footer::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,85,91,0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Top Row ───────────────────────────────────── */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 64px 30px;
  border-bottom: 1px solid rgba(43, 85, 91, 0.38);
  position: relative;
  z-index: 1;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--gray);
}

.logo-name {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
}

.sep-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dark-turquoise);
  flex-shrink: 0;
}

.logo-tagline {
  font-family: var(--font-accent), cursive;
  font-size: 17px;
  font-style: italic;
  color: var(--turquoise);
  opacity: 0.45;
  letter-spacing: 0.02em;
  /* fallback if custom font missing */
  font-weight: 400;
}

/* Business info row */
  .footer-info-row {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 40px;
      padding: 24px 64px;
      border-bottom: 1px solid rgba(43, 85, 91, 0.3);
      position: relative;
      z-index: 1;
  }

  .footer-info-item {
      display: flex;
      align-items: center;
      gap: 8px;
  }

  .footer-info-item .fi-label {
      font-family: var(--font-label);
      font-size: 10px;
      font-weight: 300;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--gray);
  }

  .footer-info-item .fi-value {
      font-family: var(--font-cyrillic);
      font-size: 13px;
      color: var(--turquoise);
      opacity: 0.75;
  }

/* ─── Pay Button ────────────────────────────────── */
.pay-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(204, 222, 229, 0.38);
  border-radius: 100px;
  padding: 13px 32px;
  color: var(--white);
  font-family: var(--font-cyrillic);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none;
}

.pay-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(204, 222, 229, 0.05);
  opacity: 0;
  transition: opacity 0.3s;
}

.pay-btn:hover { border-color: rgba(204, 222, 229, 0.7); }
.pay-btn:hover::before { opacity: 1; }

.pay-pip {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--turquoise);
  opacity: 0.55;
  flex-shrink: 0;
}

/* ─── Bottom Row ────────────────────────────────── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px 28px;
  position: relative;
  z-index: 1;
}

/* ─── Nav Links ─────────────────────────────────── */
.footer-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.footer-nav li {
  display: flex;
  align-items: center;
}

.footer-nav li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 11px;
  background: rgba(43, 85, 91, 0.7);
  margin: 0 20px;
}

.footer-nav a {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--turquoise);
  opacity: 0.4;
  transition: width 0.3s ease;
}

.footer-nav a:hover { color: var(--turquoise); }
.footer-nav a:hover::after { width: 100%; }

/* ─── Social Icons ──────────────────────────────── */
.social-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(43, 85, 91, 0.6);
  background: rgba(43, 85, 91, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: var(--gray);
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
}

.social-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}

.social-btn:hover {
  border-color: rgba(204, 222, 229, 0.45);
  background: rgba(43, 85, 91, 0.38);
  color: var(--turquoise);
  transform: translateY(-2px);
}

/* ─── Copyright Strip ───────────────────────────── */
.footer-copy {
  padding: 0 64px 20px;
  position: relative;
  z-index: 1;
}

.footer-copy p {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
  .footer-top,
  .footer-bottom,
  .footer-copy {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
  }

  .logo-tagline { display: none; }

  .footer-info-row {
    flex-direction: column;
    gap: 10px;
    padding: 24px 24px;
  }
}
