/* FOOTER */
.site-footer {
  position: relative;
  z-index: 2;
  background: #253126;
  color: #EAE9E8;
  padding: 80px clamp(16px, 3vw, 48px) 40px;
  border-radius: 30px 30px 0 0;
}

/* MENU OVERLAY + HAMBURGER */
.hamburger {
  width: 40px;
  height: 40px;
  background: var(--bg-dark, #253126);
  border: none;
  --r: 6px;
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  pointer-events: auto;
}

.hamburger::before,
.hamburger::after {
  display: none !important;
}

.hamburger span {
  width: 15px;
  height: 1.5px;
  background: var(--text-light, #EAE9E8);
  display: block;
  position: relative;
  z-index: 2;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.menu-overlay.is-open {
  pointer-events: auto;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 400ms ease;
}

.menu-overlay.is-open .menu-backdrop {
  opacity: 1;
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(620px, 92vw);
  background: var(--bg-dark, #253126);
  border-radius: 30px 0 0 30px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
  transform: translateX(100%);
  transition: transform 500ms cubic-bezier(.77, 0, .18, 1);
}

.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
}

.menu-close {
  width: var(--hamburger-size, 32px);
  height: var(--hamburger-size, 32px);
  background: transparent;
  border: none;
  --r: 6px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 48px;
  right: 24px;
  pointer-events: auto;
}

.menu-close::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  background: var(--text-light, #EAE9E8);
  z-index: 1;
  pointer-events: none;
}

.menu-close span {
  position: absolute;
  width: 15px;
  height: 1.5px;
  background: var(--bg-dark, #253126);
  z-index: 2;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.menu-label {
  color: var(--gray-light, #D1D0D1);
  font-size: 20px;
  font-weight: 200;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #E6362A);
  flex-shrink: 0;
}

.menu-panel .menu-section a {
  display: block;
  width: fit-content;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 300;
  color: var(--text-light, #EAE9E8);
  text-decoration: none;
  margin: 10px 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-panel .menu-section a:hover {
  transform: translateX(24px);
  opacity: 0.9;
}

.menu-panel .menu-section a.is-active {
  color: var(--accent, #E6362A);
}

body.menu-open .hamburger {
  opacity: 0;
  pointer-events: none;
}

/* LOGIN (TR-04-8921) HEADER */
.page-login .hero-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(10px, 2vw, 24px) clamp(16px, 3vw, calc(var(--pad) * 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  pointer-events: none;
}

.page-login .logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  height: 40px;
  --r: 6px;
  border-radius: var(--r);
  transition: background-color 300ms ease;
  pointer-events: auto;
}

body.ui-scrolled .page-login .logo-wrap {
  background-color: #D1D0D1;
}

.page-login .logo {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.page-login .logo img {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity 300ms ease;
}

.page-login .logo-blur {
  display: none !important;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.footer-statement {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 300;
  line-height: 1.3;
  max-width: 800px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.2);
  padding-left: 18px;
}

.footer-nav a {
  display: block;
  width: fit-content;
  color: #EAE9E8;
  text-decoration: none;
  font-size: 20px;
  font-weight: 200;
  transition: transform 220ms ease, opacity 220ms ease, color 220ms ease;
}

.footer-nav a:hover {
  transform: translateX(10px);
  opacity: 0.9;
  color: #EAE9E8;
}

.footer-nav a.is-active {
  color: #E6362A;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 100px;
  font-size: 20px;
  font-weight: 200;
}

.footer-brand img {
  width: clamp(200px, 40vw, 600px);
  height: auto;
  display: block;
}

@media (max-width: 980px) {
  .site-footer {
    margin-left: 0;
    margin-right: 0;
    padding: 64px 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-top: 64px;
  }
}
