/* Top menu bar */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 23, 18, 0.06);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--container);
  min-height: 43px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  font-size: 19px;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
}

.logo-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bright);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* "EFast Nav Link" text style */
.nav__link {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #647069;
  text-decoration: none;
  transition: color 200ms ease;
}

.nav__link:hover {
  color: var(--heading);
}

.nav__cta {
  justify-self: end;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--bright);
  color: #0b2013;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(24, 215, 107, 0.8);
}

/* Phone: logo and button on top, links on a second row */
@media (max-width: 1199px) {
  .nav {
    padding: 12px 20px;
  }

  .nav__inner {
    grid-template-columns: 1fr auto;
    row-gap: 14px;
  }

  .nav__links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: 22px;
  }
}
