/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #111;
}
::-webkit-scrollbar-thumb {
  background: #DE0B1B;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b00915;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #DE0B1B #111;
}

.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--t-med), box-shadow var(--t-med);
}

/* Scrolled: dark blurred background */
.site-header.scrolled {
  background: rgba(0, 0, 0, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

/* ── Inner row ── */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  /* Figma: logo at left 4.86% of 1440 = 70px → 4.375rem */
  padding: 0 4.375rem;  /* 70px ÷ 16 */
  gap: 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* ─────────────────────
   LEFT: Logo + ENG
───────────────────── */
.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;          /* 24px */
  flex-shrink: 0;
}

/* Logo — use the SVG exactly as Figma: 205×82 natural size, scaled for nav */
.nav-logo {
  display: block;
  width: 10.25rem;      /* 164px */
  height: auto;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ENG language selector — Bebas Neue, 23px as per Figma */
.nav-lang {
  display: flex;
  align-items: center;
  gap: 0.375rem;        /* 6px */
  font-family: var(--font-display);
  font-size: 1.25rem;           /* 20px */
  font-weight: 400;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--t-fast);
  padding: 0;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.nav-lang:hover { opacity: 0.75; }

/* Chevron arrow — Figma shows it rotated 90deg (pointing down) */
.nav-lang-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform var(--t-fast);
}
.nav-lang-arrow svg {
  width: 0.4375rem;     /* 7px */
  height: 0.8125rem;    /* 13px */
  transform: rotate(90deg);
  fill: var(--white);
}
.nav-lang:hover .nav-lang-arrow { opacity: 0.7; }


/* ─────────────────────
   CENTER/RIGHT: Nav Pills + Join Now
───────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;            /* 16px */
  flex-shrink: 0;
}

/* Pill container — Figma: 382×55px, bg #000, border-radius 43px */
.nav-pills {
  display: flex;
  align-items: center;
  background: #000000;
  border-radius: 2.6875rem;         /* 43px */
  padding: 0.3125rem;               /* 5px */
  gap: 0;
  height: 3.4375rem;                /* 55px */
}

/* Each nav link — Bebas Neue 18px */
.nav-pills a {
  font-family: var(--font-display);
  font-size: 1.125rem;          /* 18px */
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  padding: 0 1.375rem;          /* 22px */
  height: 2.8125rem;            /* 45px */
  display: flex;
  align-items: center;
  border-radius: 2.6875rem;         /* 43px */
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

/* Active pill — Figma: bg white (#FFFFFF), text #DE0B1B (red) */
.nav-pills a.active {
  background: var(--white);
  color: var(--red);
}

/* Hover for inactive */
.nav-pills a:not(.active):hover {
  color: rgba(255,255,255,0.7);
}

/* Join Now button — Figma: 142×48px, bg #DE0B1B, radius 100px, Bebas Neue 18px */
.nav-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8.875rem;                  /* 142px */
  height: 3rem;                     /* 48px */
  background: var(--red);
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: 1.125rem;          /* 18px */
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6.25rem;           /* 100px */
  text-decoration: none;
  flex-shrink: 0;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav-join:hover {
  background: var(--red-hover);
  transform: scale(1.03);
}


/* ─────────────────────
   HAMBURGER (Mobile)
───────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────
   MOBILE MENU DRAWER
   ───────────────────── */
.nav-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000000; /* Solid black to cover content */
  position: fixed;
  top: 82px; /* Height of the header */
  left: 0;
  width: 100%;
  height: calc(100vh - 82px); /* Fill the screen */
  z-index: 999;
  padding: 3rem 2rem;
  gap: 1.5rem;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 1rem 0;
  width: 100%;
  text-align: center;
  transition: color var(--t-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active   { color: var(--red); }
.nav-mobile a:hover    { color: var(--red); }

.nav-mobile-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #DE0B1B !important;
  color: #FFFFFF !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.25rem !important; /* 20px */
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 3rem !important;
  height: 50px !important;
  border-radius: 100px !important;
  margin-top: 2rem !important;
  align-self: center !important;
  transition: background var(--t-fast);
  text-decoration: none;
  border: none;
  width: auto !important;
}
.nav-mobile-join:hover { background: var(--red-hover) !important; }

/* ─────────────────────
   RESPONSIVE BREAKPOINTS
───────────────────── */

/* Tablet: compact pills */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 28px; gap: 16px; }
  .nav-logo  { width: 140px; }
  .nav-pills a { padding: 0 16px; font-size: 17px; }
  .nav-join  { width: 120px; font-size: 16px; }
}

/* Mobile: hide pills & join, show hamburger */
@media (max-width: 768px) {
  .nav-right  { display: none; }
  .nav-lang   { display: none; }
  .nav-burger { display: flex; }
  .nav-inner  { padding: 0 20px; }
  .nav-logo   { width: 130px; }
}

/* Small mobile */
@media (max-width: 380px) {
  .nav-logo { width: 110px; }
}


/* ═══════════════════════════════════════════
   SITE FOOTER — Figma pixel-exact
   ═══════════════════════════════════════════
   Canvas: 1440px
   Content area: left 70px, width 1292px → padding ≈ 74px each side
   ─────────────────────────────────────────── */

.site-footer {
  background: var(--black);
  padding: 0 4.375rem;  /* 70÷16 */
}

/* ── INNER WRAPPER — centered with max-width ── */
.footer-inner {
  width: 100%;
  max-width: 80.75rem;          /* 1292px */
  margin: 0 auto;               /* Center content */
}

/* ── TOP ROW: Logo | Nav (centered) | Social icons ── */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.125rem;  /* 82÷16 */
  width: 100%;
  position: relative;
}

/* Logo — Figma Group 1: left 4.86% = 70px, width ≈ 205px */
.footer-logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.footer-logo img {
  width: 12.8125rem; /* 205÷16 */
  height: auto;
  display: block;
}

/* Center nav — Figma Frame 15: width 242px, gap 54px, centered on page
   calc(50% - 242px/2 - 3.5px) ≈ centered                               */
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3.375rem;       /* 54÷16 */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 1.375rem;  /* 22÷16 */
  font-weight: 400;
  line-height: 1.625rem; /* 26÷16 */
  text-align: center;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.8;
  white-space: nowrap;
  transition: opacity var(--t-fast);
}
/* Home is full opacity (active page) */
.footer-nav a:first-child { opacity: 1; }
.footer-nav a:hover { opacity: 1; }

/* Social icons — 32px vectors with 28px gap */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.75rem;      /* 28px */
  flex-shrink: 0;
}
.footer-socials span {
  width: 2rem;       /* 32px */
  height: 2rem;      /* 32px */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-socials img {
  width: 100%;
  height: 100%;
  display: block;
}


/* ── DIVIDER ──
   Figma Line 31: width 1292px, left 70px, opacity 0.3, border 1px #FFF */
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

/* ── BOTTOM ROW: Copyright (left) | Legal (right) ──
   Figma: both Bebas Neue 18px, opacity 0.6, white
   Copyright: left 75px, width 244px
   Legal:     left 1174px, width 188px, text-align right               */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.375rem 0 1.75rem; /* 22÷16 28÷16 */
  flex-wrap: nowrap;
}

/* Copyright — Figma: left ~75px, Bebas Neue 18px, opacity 0.6 */
.footer-copy {
  font-family: var(--font-display);
  font-size: 1.125rem;  /* 18÷16 */
  font-weight: 400;
  line-height: 1.375rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-legal {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-legal span:not(.sep) {
  font-family: var(--font-display);
  font-size: 1.125rem;  /* 18÷16 */
  font-weight: 400;
  line-height: 1.375rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast);
}
.footer-legal span:not(.sep):hover { color: var(--white); }
.footer-legal .sep {
  font-family: var(--font-display);
  font-size: 1.125rem;  /* 18÷16 */
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.25rem;    /* 4÷16 */
  line-height: 22px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .site-footer { padding: 0 48px; }
}
@media (max-width: 1024px) {
  .site-footer { padding: 0 32px; }
  .footer-logo img { width: 160px; }
  .footer-nav { gap: 36px; }
  .footer-nav a { font-size: 20px; }
}
@media (max-width: 768px) {
  .site-footer { padding: 0 20px; }
  .footer-top {
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding: 28px 0 20px;
    position: static;
  }
  .footer-nav {
    position: static;
    transform: none;
    gap: 28px;
    order: 2;
  }
  .footer-socials { order: 3; }
  .footer-logo   { order: 1; }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 18px 0 24px;
  }
  .footer-copy { text-align: center; }
  .footer-legal { justify-content: center; }
}

