/* ============================================================
   _nas-shared.css
   Unified NAS header + footer used by all 4 concepts
   Self-contained: hardcoded colors/timings, no external vars
   ============================================================ */

/* ===== HEADER ===== */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1D3FB0;
  color: var(--c-white);
  height: 78px;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 40px);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
}

.nav-bar .nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-bar .brand {
  display: inline-flex;
  align-items: center;
  color: var(--c-white);
  flex-shrink: 0;
  justify-self: start;
  text-decoration: none;
  gap: 0;
  font-weight: 800;
  background: none;
  padding: 0;
}

.nav-bar .brand-logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-bar .main-nav {
  display: flex;
  gap: clamp(16px, 2.2vw, 32px);
  justify-self: center;
  align-self: stretch;
  align-items: center;
  height: 100%;
}

.nav-bar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -.005em;
  position: relative;
  height: 100%;
  padding: 0 2px;
  text-decoration: none;
  transition: color .2s ease;
  opacity: 1;
}

.nav-bar .nav-link>span {
  display: inline-block;
}

.nav-bar .nav-link:hover {
  color: var(--c-white);
  opacity: 1;
}

.nav-bar .nav-link.active {
  color: #5EEAD4;
}

.nav-bar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: #5EEAD4;
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), background .2s ease;
}

.nav-bar .nav-link.active::after {
  transform: scaleX(1);
}

.nav-bar .nav-link:not(.active):hover::after {
  transform: scaleX(.65);
  background: rgba(94, 234, 212, .45);
}

.nav-bar .nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
  margin-left: 0;
}

.nav-bar .lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 3px;
}

.nav-bar .lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  line-height: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, .7);
  font-family: inherit;
  font-size: .84rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  min-width: 36px;
  min-height: 30px;
}

.nav-bar .lang-opt:hover {
  color: var(--c-white);
}

.nav-bar .lang-opt.active {
  background: rgba(255, 255, 255, .14);
  color: var(--c-white);
}

.nav-bar .talk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5EEAD4;
  color: #0B1E3F;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: .94rem;
  letter-spacing: -.005em;
  text-decoration: none;
  transition: background .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s ease;
  box-shadow: 0 6px 18px -6px rgba(94, 234, 212, .5);
  border: none;
}

.nav-bar .talk-btn svg {
  width: 15px;
  height: 15px;
}

.nav-bar .talk-btn:hover {
  background: #34D5BD;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(94, 234, 212, .6);
}

.nav-bar .talk-btn:active {
  transform: translateY(0);
}

@media (max-width: 860px) {
  .nav-bar .nav-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-bar .main-nav {
    display: none;
  }

  .nav-bar .lang-switch {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-bar .brand-logo {
    height: 20px;
  }

  .nav-bar .talk-btn {
    padding: 10px 16px;
    font-size: .88rem;
  }

  .nav-bar .talk-btn svg {
    width: 14px;
    height: 14px;
  }

  .nav-bar {
    height: 68px;
    padding: 0 18px;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1D3FB0;
  color: var(--c-white);
  padding: 40px 0 30px;
  margin-top: 60px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  border-top: none;
}

.site-footer .footer-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4.5vw, 70px);
}

.site-footer .ft-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 30px 0 36px;
}

.site-footer .ft-quicknav {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  list-style: none;
  margin: 0;
}

.site-footer .ft-quicknav a {
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer .ft-quicknav a:hover {
  color: #5EEAD4;
}

.site-footer .ft-email {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.3rem);
  letter-spacing: -.025em;
  color: var(--c-white);
  text-decoration: none;
  transition: color .2s ease;
  white-space: nowrap;
}

.site-footer .ft-email:hover {
  color: #5EEAD4;
}

.site-footer .ft-divider {
  height: 1px;
  background: rgba(255, 255, 255, .15);
}

.site-footer .ft-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  padding: 50px 0 40px;
}

.site-footer .ft-col {
  color: var(--c-white);
}

.site-footer .ft-label {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 18px;
}

.site-footer .ft-city {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin: 0 0 18px;
  color: var(--c-white);
  letter-spacing: -.025em;
  line-height: 1;
}

.site-footer .ft-addr {
  color: rgba(255, 255, 255, .82);
  line-height: 1.65;
  font-size: .98rem;
  margin: 0;
}

.site-footer .ft-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
  padding: 0;
  list-style: none;
}

.site-footer .ft-links li {
  color: var(--c-white);
}

.site-footer .ft-links a {
  color: rgba(255, 255, 255, .95);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer .ft-links a:hover {
  color: #5EEAD4;
}

.site-footer .ft-news {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  max-width: 380px;
  transition: border-color .2s ease, background .2s ease;
}

.site-footer .ft-news:focus-within {
  border-color: rgba(94, 234, 212, .6);
  background: rgba(255, 255, 255, .08);
}

.site-footer .ft-news input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 11px 18px;
  color: var(--c-white);
  font-size: .94rem;
  font-family: inherit;
  min-width: 0;
}

.site-footer .ft-news input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.site-footer .ft-news input:focus {
  outline: none;
}

.site-footer .ft-news button {
  background: #5EEAD4;
  color: #0B1E3F;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background .2s ease;
}

.site-footer .ft-news button:hover {
  background: #34D5BD;
}

.site-footer .ft-news-ok {
  color: #5EEAD4;
  margin-top: 10px;
  font-size: .85rem;
  font-weight: 600;
}

.site-footer .ft-note {
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
  margin-top: 12px;
}

.site-footer .ft-compliance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 36px;
  color: rgba(255, 255, 255, .62);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer .ft-compliance svg {
  width: 14px;
  height: 16px;
  flex-shrink: 0;
}

.site-footer .ft-compliance .ft-dot {
  color: rgba(255, 255, 255, .35);
}

.site-footer .ft-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 26px;
}

.site-footer .ft-bottom-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer .ft-wordmark {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-white);
  letter-spacing: -.05em;
}

.site-footer .ft-lang {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--c-white);
  padding: 7px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: .85rem;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.site-footer .ft-lang:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
}

.site-footer .ft-copy {
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  text-align: center;
  margin: 0;
}

.site-footer .ft-social {
  display: flex;
  gap: 10px;
  justify-self: end;
}

.site-footer .ft-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--c-white);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s cubic-bezier(.16, 1, .3, 1);
}

.site-footer .ft-social a:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .45);
  transform: translateY(-2px);
}

.site-footer .ft-social svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  .site-footer .ft-cols {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .ft-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-footer .ft-email {
    align-self: start;
  }
}

@media (max-width: 720px) {
  .site-footer .ft-cols {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 0;
  }

  .site-footer .ft-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .site-footer .ft-bottom-left,
  .site-footer .ft-social {
    justify-self: center;
  }

  .site-footer .ft-quicknav {
    gap: 18px;
  }

  .site-footer .ft-news {
    flex-direction: column;
    padding: 8px;
    border-radius: 18px;
    align-items: stretch;
  }

  .site-footer .ft-news input {
    width: 100%;
    padding: 12px 16px;
  }

  .site-footer .ft-news button {
    width: 100%;
    padding: 12px;
  }

  .site-footer .ft-compliance {
    font-size: .7rem;
  }
}