:root {
  --blue: #1769e0;
  --blue-dark: #0d4fb5;
  --red: #e53935;
  --text: #172033;
  --muted: #667085;
  --border: #e7ecf3;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--white);
}

.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar-container {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

/* ==================== BRAND ==================== */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  color: var(--text);
  text-decoration: none;

  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background: var(--blue);
  color: var(--white);

  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;

  box-shadow:
    0 8px 20px rgba(23, 105, 224, 0.20);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px);

  box-shadow:
    0 12px 26px rgba(23, 105, 224, 0.28);
}

.brand-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.brand-text strong {
  color: var(--blue);
}

/* ==================== NAV MENU ==================== */

.nav-menu {
  display: flex;
  align-items: center;

  gap: 28px;
}

.nav-link,
.login-link {
  position: relative;

  color: var(--muted);
  text-decoration: none;

  font-size: 14px;
  font-weight: 600;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.login-link:hover {
  color: var(--blue);
}

.nav-link::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -9px;

  width: 0;
  height: 2px;

  border-radius: 10px;

  background: var(--blue);

  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ==================== LIST PROPERTY ==================== */

.list-property-btn {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px;

  border-radius: 10px;

  background: var(--blue);
  color: var(--white);

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;

  box-shadow:
    0 8px 20px rgba(23, 105, 224, 0.18);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.list-property-btn:hover {
  background: var(--blue-dark);

  transform: translateY(-2px);

  box-shadow:
    0 12px 26px rgba(23, 105, 224, 0.25);
}

/* ==================== LOGIN ==================== */

.login-link {
  color: var(--text);
}

/* ==================== MOBILE MENU ==================== */

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 1px solid var(--border);
  border-radius: 10px;

  background: var(--white);

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 20px;
  height: 2px;

  margin: 4px auto;

  border-radius: 10px;

  background: var(--text);

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* ==================== TABLET ==================== */

@media (max-width: 850px) {

  .navbar-container {
    width: min(100% - 28px, 1180px);
    min-height: 70px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;

    border-radius: 11px;
  }

  .brand-text {
    font-size: 14px;
  }

  .nav-menu {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: none;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 12px 20px 20px;

    background: var(--white);

    border-bottom: 1px solid var(--border);

    box-shadow:
      0 18px 30px rgba(23, 32, 51, 0.08);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link,
  .login-link {
    padding: 14px 4px;
  }

  .nav-link::after {
    display: none;
  }

  .list-property-btn {
    margin-top: 8px;
  }

  .menu-toggle {
    display: block;
  }
}

/* ==================== MOBILE ==================== */

@media (max-width: 480px) {

  .brand {
    gap: 9px;
  }

  .brand-text {
    font-size: 13px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .navbar-container {
    width: calc(100% - 24px);
  }
}
